Revision e03e445c
b/Makefile.am | ||
---|---|---|
1148 | 1148 |
test/py/import-export_unittest-helper |
1149 | 1149 |
|
1150 | 1150 |
|
1151 |
if PY_NODEV |
|
1152 |
python_tests= |
|
1153 |
else |
|
1154 | 1151 |
python_tests = \ |
1155 | 1152 |
doc/examples/rapi_testutils.py \ |
1156 | 1153 |
test/py/cfgupgrade_unittest.py \ |
... | ... | |
1231 | 1228 |
test/py/pycurl_reset_unittest.py \ |
1232 | 1229 |
test/py/qa.qa_config_unittest.py \ |
1233 | 1230 |
test/py/tempfile_fork_unittest.py |
1234 |
endif |
|
1235 | 1231 |
|
1236 | 1232 |
haskell_tests = test/hs/htest |
1237 | 1233 |
|
... | ... | |
1241 | 1237 |
test/py/ganeti-cleaner_unittest.bash \ |
1242 | 1238 |
test/py/import-export_unittest.bash \ |
1243 | 1239 |
test/py/cli-test.bash \ |
1244 |
test/py/bash_completion.bash \ |
|
1245 |
$(python_tests) |
|
1240 |
test/py/bash_completion.bash |
|
1241 |
|
|
1242 |
if !PY_NODEV |
|
1243 |
dist_TESTS += $(python_tests) |
|
1244 |
endif |
|
1246 | 1245 |
|
1247 | 1246 |
nodist_TESTS = |
1248 | 1247 |
check_SCRIPTS = |
... | ... | |
1275 | 1274 |
$(pkglib_python_scripts) \ |
1276 | 1275 |
$(nodist_pkglib_python_scripts) \ |
1277 | 1276 |
$(nodist_tools_python_scripts) \ |
1278 |
$(python_tests) \ |
|
1279 | 1277 |
$(pkgpython_PYTHON) \ |
1280 | 1278 |
$(client_PYTHON) \ |
1281 | 1279 |
$(cmdlib_PYTHON) \ |
... | ... | |
1292 | 1290 |
$(noinst_PYTHON) \ |
1293 | 1291 |
$(qa_scripts) |
1294 | 1292 |
|
1293 |
if !PY_NODEV |
|
1294 |
all_python_code += $(python_tests) |
|
1295 |
endif |
|
1296 |
|
|
1295 | 1297 |
srclink_files = \ |
1296 | 1298 |
man/footer.rst \ |
1297 | 1299 |
test/py/check-cert-expired_unittest.bash \ |
... | ... | |
1962 | 1964 |
etags -l python -a - |
1963 | 1965 |
|
1964 | 1966 |
.PHONY: coverage |
1967 |
|
|
1968 |
COVERAGE_TESTS= |
|
1965 | 1969 |
if WANT_HTOOLS |
1966 |
coverage: py-coverage hs-coverage |
|
1967 |
else |
|
1968 |
coverage: py-coverage |
|
1970 |
COVERAGE_TESTS += hs-coverage |
|
1971 |
endif |
|
1972 |
if !PY_NODEV |
|
1973 |
COVERAGE_TESTS += py-coverage |
|
1969 | 1974 |
endif |
1970 | 1975 |
|
1976 |
coverage: $(COVERAGE_TESTS) |
|
1977 |
|
|
1971 | 1978 |
.PHONY: py-coverage |
1972 | 1979 |
py-coverage: $(GENERATED_FILES) $(python_tests) |
1973 | 1980 |
@test -n "$(PYCOVERAGE)" || \ |
Also available in: Unified diff