Blame src/cli-ng/tests/Makefile.am
|
Packit |
8ea169 |
SUBDIRS = clitests
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
TESTS = test_cli.py test_filtering.py test_match.py test_utils.py
|
|
Packit |
8ea169 |
check_SCRIPTS = $(TESTS)
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
EXTRA_DIST = $(check_SCRIPTS)
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
if BUILD_PYTHON3
|
|
Packit |
8ea169 |
check-local:
|
|
Packit |
8ea169 |
echo "Running tests with python3"; \
|
|
Packit |
8ea169 |
exc=0; \
|
|
Packit |
8ea169 |
for test in $(TESTS); do \
|
|
Packit |
8ea169 |
python3 $$test || exc=1; \
|
|
Packit |
8ea169 |
done; \
|
|
Packit |
8ea169 |
exit $$exc
|
|
Packit |
8ea169 |
endif
|