From 82024f161b280b4ef70880ddd5bc83ad812e6f0a Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 12 Jul 2017 15:04:34 +0100 Subject: [PATCH] build: Ensure all experimental tests are distributed in tarballs As with the previous commit, ensure that tests which are run when configured with --enable-experimental-api, are always distributed; even when running `make dist` from a source tree configured with --disable-experimental-api. Signed-off-by: Philip Withnall Closes: #1002 Approved by: cgwalters --- Makefile-tests.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile-tests.am b/Makefile-tests.am index 28e0a43a..7be2ab59 100644 --- a/Makefile-tests.am +++ b/Makefile-tests.am @@ -114,8 +114,7 @@ _installed_or_uninstalled_test_scripts = \ tests/test-summary-view.sh \ $(NULL) -if ENABLE_EXPERIMENTAL_API -_installed_or_uninstalled_test_scripts += \ +experimental_test_scripts = \ tests/test-find-remotes.sh \ tests/test-fsck-collections.sh \ tests/test-init-collections.sh \ @@ -125,6 +124,11 @@ _installed_or_uninstalled_test_scripts += \ tests/test-summary-collections.sh \ tests/test-pull-collections.sh \ $(NULL) + +if ENABLE_EXPERIMENTAL_API +_installed_or_uninstalled_test_scripts += $(experimental_test_scripts) +else +EXTRA_DIST += $(experimental_test_scripts) endif if BUILDOPT_FUSE