X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/284f1fa2ace3e276052ff1bd7d66442500e693da..e05aabbb81cddec46b3d9da802f632c3b20c67d1:/test/Makefile.am diff --git a/test/Makefile.am b/test/Makefile.am index 08d6625..3ffec2b 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -29,6 +29,7 @@ include $(top_srcdir)/vars.am ### The silly Chimaera example. check_PROGRAMS += chimaera +-include chimaera.c-dep chimaera.h-dep EXTRA_DIST += chimaera.sod nodist_chimaera_SOURCES = chimaera.c chimaera.h @@ -45,7 +46,28 @@ check-local:: chimaera chimaera.ref TESTS += test check_PROGRAMS += test +-include test.c-dep test.h-dep + +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 +-include rat.c-dep rat.h-dep + +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 --------------------------------------------------