# Process with autom4te to create an -*- Autotest -*- test suite. # ------------------------------ # AT_INIT([das-test]) # AT_COPYRIGHT([]) # AT_TESTED([das-test]) # Usage: _AT_TEST_*(, ) m4_define([_AT_DAS_TEST], [# AT_BANNER([Test $1 $2]) AT_SETUP([DAS $1]) AT_KEYWORDS([das]) #Added || true because the $abs_srcdir/das-test -p < $1 needs to be true whether the #output is printed to stdout or stderr AT_CHECK([$abs_builddir/das-test -p < $1 || true], [], [stdout], [stderr]) #Need to compare either stdout or stderr because of the directory the above #AT_CHECK prints output to AT_CHECK([diff -b -B $2 stdout || diff -b -B $2 stderr], [], [ignore],[],[]) AT_CLEANUP]) m4_define([AT_DAS_RESPONSE_TEST], [#AT_BANNER([DAS response for $1.]) _AT_DAS_TEST([$abs_srcdir/das-testsuite/$1], [$abs_srcdir/das-testsuite/$1.base]) ]) AT_DAS_RESPONSE_TEST([bad_value_test.1.das]) AT_DAS_RESPONSE_TEST([das.das]) AT_DAS_RESPONSE_TEST([special.test.das]) AT_DAS_RESPONSE_TEST([special.test.hdf.das]) AT_DAS_RESPONSE_TEST([test.1.das]) AT_DAS_RESPONSE_TEST([test.11.das]) AT_DAS_RESPONSE_TEST([test.12.das]) AT_DAS_RESPONSE_TEST([test.13.das]) AT_DAS_RESPONSE_TEST([test.14.das]) AT_DAS_RESPONSE_TEST([test.15.das]) AT_DAS_RESPONSE_TEST([test.16.das]) AT_DAS_RESPONSE_TEST([test.17.das]) AT_DAS_RESPONSE_TEST([test.18.das]) AT_DAS_RESPONSE_TEST([test.19.das]) AT_DAS_RESPONSE_TEST([test.1a.das]) AT_DAS_RESPONSE_TEST([test.2.das]) AT_DAS_RESPONSE_TEST([test.20.das]) AT_DAS_RESPONSE_TEST([test.21.das]) AT_DAS_RESPONSE_TEST([test.22.das]) AT_DAS_RESPONSE_TEST([test.23.das]) AT_DAS_RESPONSE_TEST([test.24.das]) AT_DAS_RESPONSE_TEST([test.25.das]) AT_DAS_RESPONSE_TEST([test.26.das]) AT_DAS_RESPONSE_TEST([test.27.das]) AT_DAS_RESPONSE_TEST([test.28.das]) AT_DAS_RESPONSE_TEST([test.29.das]) AT_DAS_RESPONSE_TEST([test.3.das]) AT_DAS_RESPONSE_TEST([test.3.Z.das]) AT_DAS_RESPONSE_TEST([test.30.das]) AT_DAS_RESPONSE_TEST([test.31.das]) AT_DAS_RESPONSE_TEST([test.32.das]) AT_DAS_RESPONSE_TEST([test.33.das]) AT_DAS_RESPONSE_TEST([test.34.das]) AT_DAS_RESPONSE_TEST([test.35.das]) AT_DAS_RESPONSE_TEST([test.4.das]) AT_DAS_RESPONSE_TEST([test.5.das]) AT_DAS_RESPONSE_TEST([test.6.das]) AT_DAS_RESPONSE_TEST([test.7.das]) AT_DAS_RESPONSE_TEST([test.8.das]) AT_DAS_RESPONSE_TEST([test.9.das])