summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-05-27 20:58:21 +0200
committerThomas Haller <thaller@redhat.com>2018-05-27 22:25:44 +0200
commitee85151a4ad400a1e43aa50d47a083f1d1d46584 (patch)
tree67591d5b69a5a851fe7bb0ded0e20a6a7d97ba98 /Makefile.am
parentc9b0d3a42557fdca13da4beed4ef33e712cc7aa5 (diff)
downloadNetworkManager-ee85151a4ad400a1e43aa50d47a083f1d1d46584.tar.gz
clients/tests: generate Makefile.am for expected files
The developer can re-generate .expected files with $ NM_TEST_REGENERATE=1 ./clients/tests/test-client.py Note that these files are also dist-ed, so that the tests also work from a source-tarball. For that, we need to add them to EXTRA_DIST. Previously, this was done manually in the base Makefile.am file. This was cumbersome, because when adding a new test, the developer would need to manually add the files. Now, let the test (with NM_TEST_REGENERATE=1) also generate a makefile part.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am111
1 files changed, 4 insertions, 107 deletions
diff --git a/Makefile.am b/Makefile.am
index 1dea04400f..75283d47ae 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3804,115 +3804,12 @@ check_local += check-local-clients-tests-test-client
CLEANFILES += clients/tests/test-client.log
+include clients/tests/test-client.check-on-disk/Makefile.am
+
EXTRA_DIST += \
clients/tests/test-client.py \
- \
- clients/tests/test-client.check-on-disk/test_001-001.expected \
- clients/tests/test-client.check-on-disk/test_001-002.expected \
- clients/tests/test-client.check-on-disk/test_001-003.expected \
- clients/tests/test-client.check-on-disk/test_001-004.expected \
- clients/tests/test-client.check-on-disk/test_001-005.expected \
- clients/tests/test-client.check-on-disk/test_001-006.expected \
- clients/tests/test-client.check-on-disk/test_001-007.expected \
- clients/tests/test-client.check-on-disk/test_001-008.expected \
- clients/tests/test-client.check-on-disk/test_001-009.expected \
- clients/tests/test-client.check-on-disk/test_001-010.expected \
- clients/tests/test-client.check-on-disk/test_001-011.expected \
- clients/tests/test-client.check-on-disk/test_001-012.expected \
- clients/tests/test-client.check-on-disk/test_001-013.expected \
- clients/tests/test-client.check-on-disk/test_001-014.expected \
- clients/tests/test-client.check-on-disk/test_001-015.expected \
- clients/tests/test-client.check-on-disk/test_001-016.expected \
- clients/tests/test-client.check-on-disk/test_001-017.expected \
- clients/tests/test-client.check-on-disk/test_001-018.expected \
- clients/tests/test-client.check-on-disk/test_001-019.expected \
- clients/tests/test-client.check-on-disk/test_001-020.expected \
- clients/tests/test-client.check-on-disk/test_001-021.expected \
- clients/tests/test-client.check-on-disk/test_001-022.expected \
- clients/tests/test-client.check-on-disk/test_001-023.expected \
- clients/tests/test-client.check-on-disk/test_001-024.expected \
- clients/tests/test-client.check-on-disk/test_001-025.expected \
- clients/tests/test-client.check-on-disk/test_001-026.expected \
- clients/tests/test-client.check-on-disk/test_002-001.expected \
- clients/tests/test-client.check-on-disk/test_002-002.expected \
- clients/tests/test-client.check-on-disk/test_002-003.expected \
- clients/tests/test-client.check-on-disk/test_002-004.expected \
- clients/tests/test-client.check-on-disk/test_002-005.expected \
- clients/tests/test-client.check-on-disk/test_002-006.expected \
- clients/tests/test-client.check-on-disk/test_002-007.expected \
- clients/tests/test-client.check-on-disk/test_002-008.expected \
- clients/tests/test-client.check-on-disk/test_002-009.expected \
- clients/tests/test-client.check-on-disk/test_002-010.expected \
- clients/tests/test-client.check-on-disk/test_002-011.expected \
- clients/tests/test-client.check-on-disk/test_002-012.expected \
- clients/tests/test-client.check-on-disk/test_002-013.expected \
- clients/tests/test-client.check-on-disk/test_002-014.expected \
- clients/tests/test-client.check-on-disk/test_002-015.expected \
- clients/tests/test-client.check-on-disk/test_002-016.expected \
- clients/tests/test-client.check-on-disk/test_002-017.expected \
- clients/tests/test-client.check-on-disk/test_002-018.expected \
- clients/tests/test-client.check-on-disk/test_002-019.expected \
- clients/tests/test-client.check-on-disk/test_002-020.expected \
- clients/tests/test-client.check-on-disk/test_002-021.expected \
- clients/tests/test-client.check-on-disk/test_002-022.expected \
- clients/tests/test-client.check-on-disk/test_002-023.expected \
- clients/tests/test-client.check-on-disk/test_002-024.expected \
- clients/tests/test-client.check-on-disk/test_003-001.expected \
- clients/tests/test-client.check-on-disk/test_003-002.expected \
- clients/tests/test-client.check-on-disk/test_003-003.expected \
- clients/tests/test-client.check-on-disk/test_003-004.expected \
- clients/tests/test-client.check-on-disk/test_003-005.expected \
- clients/tests/test-client.check-on-disk/test_003-006.expected \
- clients/tests/test-client.check-on-disk/test_003-007.expected \
- clients/tests/test-client.check-on-disk/test_003-008.expected \
- clients/tests/test-client.check-on-disk/test_003-009.expected \
- clients/tests/test-client.check-on-disk/test_003-010.expected \
- clients/tests/test-client.check-on-disk/test_003-011.expected \
- clients/tests/test-client.check-on-disk/test_003-012.expected \
- clients/tests/test-client.check-on-disk/test_003-013.expected \
- clients/tests/test-client.check-on-disk/test_003-014.expected \
- clients/tests/test-client.check-on-disk/test_003-015.expected \
- clients/tests/test-client.check-on-disk/test_003-016.expected \
- clients/tests/test-client.check-on-disk/test_003-017.expected \
- clients/tests/test-client.check-on-disk/test_003-018.expected \
- clients/tests/test-client.check-on-disk/test_003-019.expected \
- clients/tests/test-client.check-on-disk/test_003-020.expected \
- clients/tests/test-client.check-on-disk/test_003-021.expected \
- clients/tests/test-client.check-on-disk/test_003-022.expected \
- clients/tests/test-client.check-on-disk/test_003-023.expected \
- clients/tests/test-client.check-on-disk/test_003-024.expected \
- clients/tests/test-client.check-on-disk/test_003-025.expected \
- clients/tests/test-client.check-on-disk/test_003-026.expected \
- clients/tests/test-client.check-on-disk/test_003-027.expected \
- clients/tests/test-client.check-on-disk/test_003-028.expected \
- clients/tests/test-client.check-on-disk/test_003-029.expected \
- clients/tests/test-client.check-on-disk/test_003-030.expected \
- clients/tests/test-client.check-on-disk/test_003-031.expected \
- clients/tests/test-client.check-on-disk/test_003-032.expected \
- clients/tests/test-client.check-on-disk/test_003-033.expected \
- clients/tests/test-client.check-on-disk/test_003-034.expected \
- clients/tests/test-client.check-on-disk/test_003-035.expected \
- clients/tests/test-client.check-on-disk/test_003-036.expected \
- clients/tests/test-client.check-on-disk/test_003-037.expected \
- clients/tests/test-client.check-on-disk/test_003-038.expected \
- clients/tests/test-client.check-on-disk/test_003-039.expected \
- clients/tests/test-client.check-on-disk/test_003-040.expected \
- clients/tests/test-client.check-on-disk/test_003-041.expected \
- clients/tests/test-client.check-on-disk/test_003-042.expected \
- clients/tests/test-client.check-on-disk/test_003-043.expected \
- clients/tests/test-client.check-on-disk/test_003-044.expected \
- clients/tests/test-client.check-on-disk/test_003-045.expected \
- clients/tests/test-client.check-on-disk/test_003-046.expected \
- clients/tests/test-client.check-on-disk/test_003-047.expected \
- clients/tests/test-client.check-on-disk/test_003-048.expected \
- clients/tests/test-client.check-on-disk/test_003-049.expected \
- clients/tests/test-client.check-on-disk/test_003-050.expected \
- clients/tests/test-client.check-on-disk/test_003-051.expected \
- clients/tests/test-client.check-on-disk/test_003-052.expected \
- clients/tests/test-client.check-on-disk/test_003-053.expected \
- clients/tests/test-client.check-on-disk/test_003-054.expected \
- \
- $(NULL)
+ clients/tests/test-client.check-on-disk/Makefile.am \
+ $(clients_tests_expected_files)
###############################################################################
# data