[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-commit] [SCM] GNU Automake branch, experimental/testsuite-sane
From: |
Stefano Lattarini |
Subject: |
[Automake-commit] [SCM] GNU Automake branch, experimental/testsuite-saner-shell, created. v1.11b-53-g634efda |
Date: |
Mon, 23 Apr 2012 17:56:33 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".
http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=634efda70d577f8dc3615006fc2b1bc2988ee092
The branch, experimental/testsuite-saner-shell has been created
at 634efda70d577f8dc3615006fc2b1bc2988ee092 (commit)
- Log -----------------------------------------------------------------
commit 634efda70d577f8dc3615006fc2b1bc2988ee092
Author: Stefano Lattarini <address@hidden>
Date: Mon Apr 23 19:03:33 2012 +0200
tests: fix a spurious failure with dash
The dash shell, at least version 0.5.5.1, doesn't always bail out
with a syntax error when a stray "fi" in encountered:
$ dash -c ":; fi"; echo stat = $?
stat = 0
See also the relevant bug report:
<http://permalink.gmane.org/gmane.comp.shells.dash/717>
This behaviour was causing a spurious error in our testsuite. Fix it.
* t/self-check-exit.tap: Use a stray parentheses rather than a stray
'fi' to trigger a syntax error.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 608d9e3092d64e74d7162d3b73402f5f95fe2788
Author: Stefano Lattarini <address@hidden>
Date: Wed Dec 28 13:23:31 2011 +0100
test defs: fix indentation (cosmetic change)
* defs (exit trap): Fix indentation left botched by previous
patch 'v1.11b-51-g626bf65'.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 626bf65b7a7fb40f07956fd1622085d4b2181e6a
Author: Stefano Lattarini <address@hidden>
Date: Wed Dec 28 13:23:31 2011 +0100
tests: remove obsolete uses of $sh_errexit_works
After the last changes, configure will ensure that the shell
selected to run the test scripts can correctly propagate exit
status to the exit trap when 'set -e' is in effect.
* configure.ac (sh_errexit_works): Do not AC_SUBST it anymore.
* defs-static.in (sh_errexit_works): Do not initialize
from the AC_SUBST value anymore.
* defs (trap): Trap the EXIT signal unconditionally.
* t/self-check-explicit-skips.sh: Do not skip the test if
'$sh_errexit_works' is != "yes", this check doesn't make
sense anymore.
* t/self-check-cleanup.tap: Likewise.
* t/self-check-exit.tap: Assume the exit trap is always
installed by ./defs.
Signed-off-by: Stefano Lattarini <address@hidden>
commit a5b6fab3da4da1e79a41bdb05f6aa0513273c068
Author: Stefano Lattarini <address@hidden>
Date: Wed Dec 28 13:23:31 2011 +0100
configure: search a sturdy POSIX shell to be used in the testsuite
* configure.ac: Add code (partially inspired to checks in gnulib's
'tests/init.sh') to search for a good-enough, not-buggy POSIX/XSI
shell to be used in our testsuite. Accordingly AC_SUBSTitute the
variable 'AM_TEST_RUNNER_SHELL'.
Signed-off-by: Stefano Lattarini <address@hidden>
commit fb6e2ecca3214b6d33e59679215e1637f424b254
Author: Stefano Lattarini <address@hidden>
Date: Wed Dec 28 13:23:31 2011 +0100
tests: shell running test scripts is now named AM_TEST_RUNNER_SHELL
This is just a preparatory refactoring for future changes.
* configure.ac (AM_TEST_RUNNER_SHELL): New variable, defined
to $SHEL', and AC_SUBST'd.
* Makefile.am (LOG_COMPILER): Redefine from $(SHELL) to
$(AM_TEST_RUNNER_SHELL).
* defs: Adjust to use $AM_TEST_RUNNER_SHELL instead
of $CONFIG_SHELL and/or $SHELL, where appropriate. Minor
opportunistic changes.
* t/self-check-explicit-skips.sh: Likewise.
* t/self-check-sanity.sh: Likewise.
* t/self-check-tap.sh: Likewise.
* t/self-check-cleanup.tap: Likewise.
* t/self-check-dir.tap: Likewise.
* t/self-check-env-sanitize.tap: Likewise.
* t/self-check-exit.tap: Likewise.
* t/self-check-me.tap: Likewise.
* t/self-check-reexec.tap: Likewise.
Signed-off-by: Stefano Lattarini <address@hidden>
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Automake
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Automake-commit] [SCM] GNU Automake branch, experimental/testsuite-saner-shell, created. v1.11b-53-g634efda,
Stefano Lattarini <=