]> git.ipfire.org Git - location/libloc.git/commitdiff
tests: List Python test cases as scripts
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 30 Mar 2022 15:48:19 +0000 (15:48 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 30 Mar 2022 15:48:19 +0000 (15:48 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am

index 129e6d862cb1664c6a209dec52881f1e9a5660bb..b9d0c6950cd743fa69f155009358611b5b5a69e8 100644 (file)
@@ -324,15 +324,8 @@ TESTS_ENVIRONMENT = \
        TEST_DATA_DIR="$(abs_top_srcdir)/tests/data"
 
 TESTS = \
-       src/test-libloc \
-       src/test-stringpool \
-       src/test-database \
-       src/test-as \
-       src/test-network \
-       src/test-country \
-       src/test-signature \
-       src/test-address \
-       tests/python/test-export.py
+       $(check_PROGRAMS) \
+       $(dist_check_SCRIPTS)
 
 EXTRA_DIST += \
        tests/data/location-2022-03-30.db
@@ -345,6 +338,9 @@ testdata.db: examples/python/create-database.py
        ABS_SRCDIR="$(abs_srcdir)" \
                $(PYTHON) $< $@
 
+dist_check_SCRIPTS = \
+       tests/python/test-export.py
+
 check_PROGRAMS = \
        src/test-libloc \
        src/test-stringpool \