From: Stefano Lattarini Date: Mon, 2 Jul 2012 20:19:15 +0000 (+0200) Subject: [ng] fixup: don't reference non-existing tests on 'multilib' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01b46d4bc1ce9bba6b7abffa1742af68256dcc03;p=thirdparty%2Fautomake.git [ng] fixup: don't reference non-existing tests on 'multilib' * contrib/t/local.am (contrib_TESTS): Here. * Makefile.am (EXTRA_DIST): No need to manually add $(contrib_TESTS), we already add $(TESTS) as a whole. (TESTS): Add $(contrib_TESTS) directly in the definition, rather than later with '+='. ($(srcdir)/contrib/t/local.am): Move inclusion of this earlier. Signed-off-by: Stefano Lattarini --- diff --git a/Makefile.am b/Makefile.am index 0ac2338c9..6b8cde9b3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -296,6 +296,9 @@ AM_TAP_LOG_DRIVER_FLAGS = --merge EXTRA_DIST += t/README t/ax/is t/ax/is_newest +# Hand-written tests for stuff in 'contrib/'. +include $(srcdir)/contrib/t/local.am + # All tests, both hand-written and autogenerated. # IMPORTANT: This assumes that the autogenerated tests are placed # in the $(srcdir) as well! @@ -318,7 +321,8 @@ long_running_TESTS = \ TESTS = \ $(long_running_TESTS) \ - $(filter-out $(long_running_TESTS), $(all_TESTS)) + $(filter-out $(long_running_TESTS), $(all_TESTS)) \ + $(contrib_TESTS) EXTRA_DIST += $(TESTS) @@ -391,11 +395,6 @@ $(srcdir)/testsuite-autodeps.am: $(srcdir)/gen-testsuite-part $(AM_V_at)chmod a-w $(@F)-t && mv -f $(@F)-t $@ EXTRA_DIST += gen-testsuite-part -# Hand-written tests for stuff in 'contrib/'. -include $(srcdir)/contrib/t/local.am -TESTS += $(contrib_TESTS) -EXTRA_DIST += $(contrib_TESTS) - # Static dependencies valid for each test case. check_SCRIPTS = t/wrap/aclocal-$(APIVERSION) t/wrap/automake-$(APIVERSION) dist_check_DATA = \ diff --git a/contrib/t/local.am b/contrib/t/local.am index 3859c70c7..185274797 100644 --- a/contrib/t/local.am +++ b/contrib/t/local.am @@ -20,6 +20,4 @@ contrib_testsuite_dir = contrib/t contrib_TESTS = \ $(contrib_testsuite_dir)/parallel-tests-html.sh \ - $(contrib_testsuite_dir)/parallel-tests-html-recursive.sh \ - $(contrib_testsuite_dir)/help-multilib.sh \ - $(contrib_testsuite_dir)/multilib.sh + $(contrib_testsuite_dir)/parallel-tests-html-recursive.sh