X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/8d1d7d3eb07fe738fe5458acee84ef84919638ce..b0e21f8370fb60321f178572e2b90dfc4e2eb5b6:/test/Makefile.am diff --git a/test/Makefile.am b/test/Makefile.am index 300ad69..de5b634 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -7,7 +7,7 @@ ###----- Licensing notice --------------------------------------------------- ### -### This file is part of the Sensble Object Design, an object system for C. +### This file is part of the Sensible Object Design, an object system for C. ### ### SOD is free software; you can redistribute it and/or modify ### it under the terms of the GNU General Public License as published by @@ -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 --------------------------------------------------