Use a generic check script in test/Makefile.am
commite0aef3484b8402e4f31417418e1d66d62ab729f3
authorCedric Bastoul <cedric.bastoul@u-psud.fr>
Wed, 16 Nov 2011 17:54:32 +0000 (16 18:54 +0100)
committerCedric Bastoul <cedric.bastoul@u-psud.fr>
Wed, 7 Dec 2011 23:58:49 +0000 (8 00:58 +0100)
tree8107a30efa8e9fa9f9344473f1ce760971571613
parentde81bea6fed9bd44ad6228025ecc30781bcff555
Use a generic check script in test/Makefile.am

This is a rewriting of the testing mechanism, which used to be
heavily based on copy-pasting of parts of the test/Makefile.am
file. It introduces a generic testing script (test/checker.sh)
and a set of very small scripts (test/check_*.sh), dedicated to
a given test set and typically limited to one call to the generic
script.  All in all this is a cleaner approach, with less redundant
script code and more integration with Automake's testing
support (TESTS and TEST_ENVIRONMENT variables).

The benefit for the remaining rules is less obvious but it may
be considered as well at some point.
Makefile.am
test/Makefile.am
test/check_c.sh [new file with mode: 0755]
test/check_fortran.sh [new file with mode: 0755]
test/check_openscop.sh [new file with mode: 0755]
test/check_run.sh [new file with mode: 0755]
test/check_special.sh [new file with mode: 0755]
test/check_strided.sh [new file with mode: 0755]
test/checker.sh [new file with mode: 0755]