-
Notifications
You must be signed in to change notification settings - Fork 59
/
Makefile
59 lines (40 loc) · 1.53 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
check: autospec/*.py
@flake8 --ignore=B902,D100,I201 $^
test_download:
PYTHONPATH=${CURDIR}/autospec python3 tests/test_download.py
test_pkg_integrity:
PYTHONPATH=${CURDIR}/autospec python3 tests/test_pkg_integrity.py
test_tarball:
PYTHONPATH=${CURDIR}/autospec python3 tests/test_tarball.py
test_specfile:
PYTHONPATH=${CURDIR}/autospec python3 tests/test_specfile.py
test_abireport:
PYTHONPATH=${CURDIR}/autospec python3 tests/test_abireport.py
test_commitmessage:
PYTHONPATH=${CURDIR}/autospec python3 tests/test_commitmessage.py
test_files:
PYTHONPATH=${CURDIR}/autospec python3 tests/test_files.py
test_license:
PYTHONPATH=${CURDIR}/autospec python3 tests/test_license.py
test_config:
PYTHONPATH=${CURDIR}/autospec python3 tests/test_config.py
test_build:
PYTHONPATH=${CURDIR}/autospec python3 tests/test_build.py
test_buildreq:
PYTHONPATH=${CURDIR}/autospec python3 tests/test_buildreq.py
test_specdescription:
PYTHONPATH=${CURDIR}/autospec python3 tests/test_specdescription.py
test_count:
PYTHONPATH=${CURDIR}/autospec python3 tests/test_count.py
test_check:
PYTHONPATH=${CURDIR}/autospec python3 tests/test_check.py
test_util:
PYTHONPATH=${CURDIR}/autospec python3 tests/test_util.py
test_general:
PYTHONPATH=${CURDIR}/autospec python3 tests/test_general.py
unittests:
PYTHONPATH=${CURDIR}/autospec coverage run -m unittest discover -b -s tests -p 'test_*.py' && coverage report
unittests-no-coverage:
PYTHONPATH=${CURDIR}/autospec python3 -m unittest discover -b -s tests -p 'test_*.py'
coverage:
coverage report -m