[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Automake-NG] [PATCH 18/17] [ng] coverage: parallel-tests and dynami
From: |
Stefano Lattarini |
Subject: |
Re: [Automake-NG] [PATCH 18/17] [ng] coverage: parallel-tests and dynamic $(TEST_EXTENSIONS) content |
Date: |
Wed, 23 May 2012 00:02:15 +0200 |
On 05/22/2012 11:22 PM, Stefano Lattarini wrote:
> The recent changes to the parallel-tests implementation should allow us
> to define or override TEST_EXTENSIONS with more dynamic contents; in
> particular, something like:
>
> TEST_EXTENSIONS = $(suffix $(TESTS))
>
> should now work smoothly.
>
> * t/test-extensions-dynamic.sh: New test.
>
In light of the the discussion about [PATCH 15/17], consider the diff
below squashed in.
Regards,
Stefano
-*-*-*-
diff --git a/t/test-extensions-dynamic.sh b/t/test-extensions-dynamic.sh
index a762ad8..e2dbc7d 100755
--- a/t/test-extensions-dynamic.sh
+++ b/t/test-extensions-dynamic.sh
@@ -29,7 +29,7 @@ mkdir sub
cat > Makefile.am << 'END'
SUBDIRS = sub
TESTS = foo.sh bar.test baz.t1 mu.t1.t2 zardoz.tap
-TEST_EXTENSIONS = .test @suf@ $(foreach i,1 2,t$(i))
+TEST_EXTENSIONS = .test @suf@ $(foreach i,1 2,.t$(i))
TEST_EXTENSIONS += $(subst &,.,$(call am__tolower,&SH))
END
@@ -81,7 +81,7 @@ test -f sub/3.log
do_clean
-do_setup TEST_EXTENSIONS='.sh t2 test ${suf}'
+do_setup TEST_EXTENSIONS='.sh .t2 $(subst o,e,.tost) ${suf}'
test -f foo.log
test -f bar.log
test -f baz.t1.log
- Re: [Automake-NG] [PATCH 16/17] [ng] check: support conditional $(TEST_EXTENSIONS), (continued)
- [Automake-NG] [PATCH 17/17] [ng] cosmetics: improve comments and spacing in 'parallel-tests.am', Stefano Lattarini, 2012/05/22
- [Automake-NG] [PATCH 15/17] [ng] check: accept dot-less entries in $(TEST_EXTENSIONS), Stefano Lattarini, 2012/05/22
- Re: [Automake-NG] [PATCH 15/17] [ng] check: accept dot-less entries in $(TEST_EXTENSIONS), Akim Demaille, 2012/05/22
- Re: [Automake-NG] [PATCH 15/17] [ng] check: accept dot-less entries in $(TEST_EXTENSIONS), Stefano Lattarini, 2012/05/22
- [Automake-NG] [PATCH 15/17] [ng] check: warn about dot-less $(TEST_EXTENSIONS) at make runtime, Stefano Lattarini, 2012/05/22
- Re: [Automake-NG] [PATCH 15/17] [ng] check: warn about dot-less $(TEST_EXTENSIONS) at make runtime, Akim Demaille, 2012/05/23
- [Automake-NG] A new TODO file for Automake-NG? (was: Re: [PATCH 15/17] [ng] check: warn about dot-less $(TEST_EXTENSIONS) at make runtime), Stefano Lattarini, 2012/05/23
- Re: [Automake-NG] [PATCH 15/17] [ng] check: accept dot-less entries in $(TEST_EXTENSIONS), Akim Demaille, 2012/05/23
[Automake-NG] [PATCH 18/17] [ng] coverage: parallel-tests and dynamic $(TEST_EXTENSIONS) content, Stefano Lattarini, 2012/05/22
- Re: [Automake-NG] [PATCH 18/17] [ng] coverage: parallel-tests and dynamic $(TEST_EXTENSIONS) content,
Stefano Lattarini <=
[Automake-NG] [PATCH 19/17] [ng] doc: update w.r.t. recent changes in testsuite harnesses (TESTS-based), Stefano Lattarini, 2012/05/23
[Automake-NG] [PATCH 20/17] [ng] news: update w.r.t. recent changes in testsuite harnesses (TESTS based), Stefano Lattarini, 2012/05/23
Re: [Automake-NG] [PATCH 00/17] Move almost parallel-tests processing at make runtime, Stefano Lattarini, 2012/05/24