[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Automake-NG] [PATCH 2/6] [ng] parallel-tests: do not exceed command
From: |
Akim Demaille |
Subject: |
Re: [Automake-NG] [PATCH 2/6] [ng] parallel-tests: do not exceed command line length limits |
Date: |
Sun, 22 Jul 2012 09:43:13 +0200 |
Le 21 juil. 2012 à 10:50, Stefano Lattarini a écrit :
> Fixes automake bug#7868.
>
> Two things worth noting:
>
> + a "make recheck" issued after a huge number of tests have failed
> can still hit command-line length issues;
>
> + the check-recipes now contain (first among the Automake-generated
> recipes) a use of the 'xargs' utility.
>
> These issues will likely be tackled by later patches.
>
> * Makefile.am (XFAIL_TESTS): Remove 't/parallel-tests-many.sh'.
> * lib/am/clean.am (.am.clean-cmd.f, .am.clean-cmd.d, .am.rm-f,
> .am.rm-rf): Moved their definitions …
Move
> * lib/am/header-vars.am: ... here, because we need to use them ...
> * lib/am/parallel-tests.am: ... here as well.
> (am.test-harness.workdir, am.setup-test-harness-workdir,
> am.test-harness.append-to-list-of-bases): New internal variables.
> Use them to avoid hitting command-line length limits ...
> ($(TEST_SUITE_LOG), recheck): ... in this rules ...
> (am__remove_if_not_lazy_check): ... and in the shell code defined
> by this internal variable.
> + while read b; do echo $$b; done <$$workdir/bases \
> | $(am__create_global_log); \
What is the point of the loop?
< $$workdir/bases $(am__create_global_log)
Similarly elsewhere.
[Automake-NG] [PATCH 3/6] [ng] check: use awk rather than grep+xargs to count test results, Stefano Lattarini, 2012/07/21
[Automake-NG] [PATCH 4/6] [ng] check: refactor for less duplication and better performances, Stefano Lattarini, 2012/07/21
[Automake-NG] [PATCH 5/6] [ng] coverage: recheck with many failed tests, Stefano Lattarini, 2012/07/21
[Automake-NG] [PATCH 6/6] [ng] recheck: don't exceed command line limits, even with many failed tests, Stefano Lattarini, 2012/07/21