test setup: merge definitions of function for simple tests
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 25 Jul 2012 19:04:30 +0000 (21:04 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 26 Jul 2012 12:11:37 +0000 (14:11 +0200)
commit3bb5a901116b8e610860477bb1d7e74f3c8d4e0f
tree5ae42f4208dee0fd2f7546d591b90c09e937f6b0
parent472e4e4708f841967623708898050de5d7c27eda
test setup: merge definitions of function for simple tests

* t/ax/plain-functions.sh: Delete, moving the definitions of ...
($stderr_fileno_): ... this variable ...
(warn_, fail_, skip_, skip_all_, fatal_, framework_failure_): ... and
these functions ...
* t/ax/test-init.sh: ... in here.  This allow us to use those functions
earlier in this file (instead of having to duplicate their behaviour
with inlined code).  The TAP-based tests are still able to override these
functions later to their TAP-enhanced equivalents when 'tap-functions.sh'
is sourced.
* Makefile.am (dist_noinst_DATA): Remove 't/ax/plain-functions.sh'.
* t/ax/tap-functions.sh: Adjust a comment.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Makefile.am
t/ax/plain-functions.sh [deleted file]
t/ax/test-init.sh