]> git.ipfire.org Git - thirdparty/automake.git/commit
testsuite: use 'fatal_' and 'framework_failure_' for hard errors
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 7 Jun 2011 14:36:40 +0000 (16:36 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 11 Jun 2011 10:25:11 +0000 (12:25 +0200)
commita2154d14b618540a8e32f745f0f29ab924de91b2
tree8a7585f296de2e065ffddab744a8ce34264f7687
parentd295932ed40e46b94fe2ce8932a571ebd1e7dc92
testsuite: use 'fatal_' and 'framework_failure_' for hard errors

* tests/defs (require_xsi): Use `fatal_', not `framework_failure',
to report an invalid usage.
* tests/remake-gnulib-remove-header.test: Prefer using `fatal_'
with a proper error message over a direct call to `Exit 99'.
* tests/pr8365-remake-timing.test: Likewise.
* tests/cygnus-imply-foreign.test: Likewise.
* tests/missing6.test: Likewise.
* tests/cond8.test: Likewise.
* tests/cond33.test: Likewise.
* tests/python-virtualenv.test: Prefer using `framework_failure_'
with a proper error message over a direct call to `Exit 99'.
* tests/instspc-tests.sh: Prefer using `framework_failure_' and
`fatal_' over direct calls to `Exit 99'.
(fatal_): Define this (which is a simplified version of the one
in `tests/defs') for early uses (i.e., before `tests/defs'
gets sourced).
* tests/depmode-tests.sh: Likewise.  Also, simplify the
'get_depmodes' function and calls to it accordingly.
ChangeLog
tests/cond33.test
tests/cond8.test
tests/cygnus-imply-foreign.test
tests/defs
tests/depmod-tests.sh
tests/instspc-tests.sh
tests/missing6.test
tests/pr8365-remake-timing.test
tests/python-virtualenv.test
tests/remake-gnulib-remove-header.test