X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/e0808c472145fc81e52898bc9ac289e10c4f4f41..e38e83673b59b89d7af42f4c3f177aa0f6eafeb5:/test/Makefile.am diff --git a/test/Makefile.am b/test/Makefile.am index abd524e..de5b634 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -40,4 +40,31 @@ check-local:: chimaera chimaera.ref ./chimaera >chimaera.out diff -u $(srcdir)/chimaera.ref chimaera.out +###-------------------------------------------------------------------------- +### Other tests. + +TESTS += test +check_PROGRAMS += test + +EXTRA_DIST += test.sod +nodist_test_SOURCES = test.c test.h +BUILT_SOURCES += $(nodist_test_SOURCES) + +check_PROGRAMS += kwtest + +EXTRA_DIST += kwtest.ref +CLEANFILES += kwtest.out +check-local:: kwtest kwtest.ref + ./kwtest >kwtest.out + diff -u $(srcdir)/kwtest.ref kwtest.out + +check_PROGRAMS += rat + +EXTRA_DIST += rat.sod rat.ref +nodist_rat_SOURCES = rat.c rat.h +BUILT_SOURCES += $(nodist_rat_SOURCES) +check-local:: rat rat.ref + ./rat >rat.out + diff -u $(srcdir)/rat.ref rat.out + ###----- That's all, folks --------------------------------------------------