automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] {master} tests: prefer including 'test-init.sh' rather than './def


From: Stefano Lattarini
Subject: [FYI] {master} tests: prefer including 'test-init.sh' rather than './defs'
Date: Sat, 27 Oct 2012 16:54:58 +0200

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 <address@hidden>

-*-*-*-

The patch is too repetitive for it to make sense to have it inlined,
so I've attached it compressed.

Regards,
  Stefano

Attachment: 0001-tests-prefer-including-test-init.sh-rather-than-.-de.patch.xz
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]