From 82fc4d353ce941f09f16738a31fb8958d0320be2 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Fri, 20 May 2011 23:18:39 +0200 Subject: [PATCH] testsuite: avoid re-running few tests with 'parallel-tests' option Some tests in our testsuite use the 'simple-tests' driver only marginally, or simply as a mean to conveniently check unrelated invariants. It makes little sense to force these tests to also run with the 'parallel-tests' Automake option active, as doing so offers no real gain in coverage, while often causing a measurable overhead in execution time (for an already too-slow testsuite). * tests/pr401.test (parallel_tests): Define to "no", to prevent the generation of a sibling test script using the 'parallel-tests' driver. * tests/pr401b.test: Likewise. * tests/pr401c.test: Likewise. --- ChangeLog | 15 +++++++++++++++ tests/Makefile.in | 5 +---- tests/pr401.test | 1 + tests/pr401b.test | 1 + tests/pr401c.test | 1 + 5 files changed, 19 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 52a729b..3631129 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,20 @@ 2011-05-20 Stefano Lattarini + testsuite: avoid re-running few tests with 'parallel-tests' option + Some tests in our testsuite use the 'simple-tests' driver only + marginally, or simply as a mean to conveniently check unrelated + invariants. It makes little sense to force these tests to also + run with the 'parallel-tests' Automake option active, as doing so + offers no real gain in coverage, while often causing a measurable + overhead in execution time (for an already too-slow testsuite). + * tests/pr401.test (parallel_tests): Define to "no", to prevent + the generation of a sibling test script using the 'parallel-tests' + driver. + * tests/pr401b.test: Likewise. + * tests/pr401c.test: Likewise. + +2011-05-20 Stefano Lattarini + testsuite: allow tests to avoid the use of 'parallel-tests' option * tests/gen-parallel-tests: Do not generate "siblings" for tests that explicitly define the `parallel_tests', whether to "yes" or diff --git a/tests/Makefile.in b/tests/Makefile.in index 78d723c..110d13b 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -302,10 +302,7 @@ comment9-p.test \ dejagnu-p.test \ exeext4-p.test \ maken3-p.test \ -maken4-p.test \ -pr401-p.test \ -pr401b-p.test \ -pr401c-p.test +maken4-p.test MAINTAINERCLEANFILES = $(parallel_tests) diff --git a/tests/pr401.test b/tests/pr401.test index b68b5ed..88f7733 100755 --- a/tests/pr401.test +++ b/tests/pr401.test @@ -17,6 +17,7 @@ # Check support for AC_CONFIG_LIBOBJ_DIR vs LIBOBJS. # (pr401b.test and pr401c.test do the same for LTLIBOBJS and ALLOCA) +parallel_tests=no required=gcc . ./defs || Exit 1 diff --git a/tests/pr401b.test b/tests/pr401b.test index 8e296ef..0af4646 100755 --- a/tests/pr401b.test +++ b/tests/pr401b.test @@ -17,6 +17,7 @@ # Check support for AC_CONFIG_LIBOBJ_DIR vs LTLIBOBJS. # (pr401.test and pr401c.test do the same for LIBOBJS and ALLOCA) +parallel_tests=no required='gcc libtoolize' . ./defs || Exit 1 diff --git a/tests/pr401c.test b/tests/pr401c.test index 8682dc0..b94bc16 100755 --- a/tests/pr401c.test +++ b/tests/pr401c.test @@ -17,6 +17,7 @@ # Check support for AC_CONFIG_LIBOBJ_DIR vs ALLOCA. # (pr401.test and pr401b.test do the same for LIBOBJS and LTLIBOBJS) +parallel_tests=no required=gcc . ./defs || Exit 1 -- 2.7.4