lib/: Pure C machinery for handling `keyword arguments' to functions.
[sod] / test / Makefile.am
index 08d6625..231d203 100644 (file)
@@ -48,4 +48,12 @@ check_PROGRAMS               += test
 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 --------------------------------------------------