summaryrefslogtreecommitdiff
path: root/t/parallel-tests-recheck-pr11791.sh
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into ng/masterStefano Lattarini2012-12-311-1/+1
|\ | | | | | | | | | | * master: maint: update copyright year for 2013 (in branch master) maint: update copyright year for 2013 (in branch maint)
| * maint: update copyright year for 2013 (in branch maint)Stefano Lattarini2012-12-311-1/+1
| | | | | | | | Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | Merge branch 'master' into ng/masterStefano Lattarini2012-10-271-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * master: tests: remove spurious leftover use of 'Exit' tests: remove an obsolete, and probably now wrong, comment tests: remove obsolescent references to './defs' tests: prefer including 'test-init.sh' rather than './defs' Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * tests: prefer including 'test-init.sh' rather than './defs'Stefano Lattarini2012-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a follow-up to today's commit v1.12.4-22-g0610fc8, "tests: prepare to move ./defs to t/ax/test-init.sh" * All tests: To run the common setup, use the command: . test-init.sh instead of the older, "historical" one: . ./defs || exit 1 Note that the "|| exit 1" wasn't really useful, since the 'errexit' shell flag is in effect in both './defs' and 'test-init.sh', and all the known shells that are good enough to run the automake testsuite do automatically exit with error when a sourced file cannot be found (at least, they do so in non-interactive mode, which is the only mode that concerns us in the testsuite). * t/ax/tap-summary-aux.sh, t/ax/testsuite-summary-checks.sh: Likewise. * gen-testsuite-part: Do the same in the generated tests. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | [ng] maintcheck: fix several failures (real and spurious)Stefano Lattarini2012-07-021-6/+2
|/ | | | | | | | | | | | | | | | | | * syntax-checks.mk (ams): Do not mistakenly consider also the directory '.am' used by Automake-NG internals as a '*.am' makefile fragment. (sc_no_dotmake_target): Use $(ams) instead of an hand-rolled equivalent expression. (sc_no_for_variable_in_macro): Whitelist the "for var in $(am__installdirs)" usage, since $(am__installdirs) is already defined as properly quoted. * t/parallel-tests-recheck-pr11791.sh: Remove uses of the 'using_gmake' function; of course $MAKE is GNU make in Automake-NG. * t/remake-recurs-user.sh: Likewise. * t/recurs-user-keep-going.sh: Likewise. * t/recurs-user-phony.sh: Do not explicitly require GNU make. * t/recurs-user-wrap.sh: Likewise. * t/vartypos.sh: Use 'exit', not 'Exit'. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* tests: don't trust the exit status of "make -k" for non-GNU makesStefano Lattarini2012-07-011-1/+3
| | | | | | | | * t/parallel-tests-recheck-pr11791.sh: Here. At least some versions of FreeBSD make botch it up, returning success when failure should be returned. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* tests: fix some uses of 'Exit', where 'exit' should now be used insteadStefano Lattarini2012-06-301-9/+9
| | | | | | * t/parallel-tests-recheck-pr11791.sh: Here. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* parallel-tests: "recheck" behaves better in case of compilation failuresStefano Lattarini2012-06-271-0/+87
With this change, the "recheck" target behaves better in the face of build failures related to previously failed tests. For example, if a test is a compiled program that must be rerun by "make recheck", and its compilation fails, that test will still be rerun by further "make recheck" invocations. Previously, its '.log' and '.trs' would have both been lost, so that the test would have not been re-run. This change fixes automake bug#11791. * NEWS: Update. * lib/am/check.am (recheck, check-TESTS): Adjust to cater to scenario described above. * t/parallel-tests-recheck-pr11791.sh: New test. * t/list-of-tests.mk: Add it. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>