chiark / gitweb /
debian/libsod-dev.install: Fix name of manpage.
[sod] / test / Makefile.am
index 08d6625e708f70fd372e6526f1e5ab60775a3f2a..5c4d59d37ebd2cf2ee91f9a7c35ea6665dfebb41 100644 (file)
@@ -45,7 +45,17 @@ check-local:: chimaera chimaera.ref
 
 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
+
 ###----- That's all, folks --------------------------------------------------