mv $@.new $@
endif
+check_PROGRAMS += t/crc32.t
+t_crc32_t_SOURCES = t/crc32-test.c
+t_crc32_t_CPPFLAGS = $(TEST_CPPFLAGS)
+t_crc32_t_LDFLAGS = -static
+
+EXTRA_DIST += t/crc32.tests
+
## Universal hashing.
pkginclude_HEADERS += unihash.h
noinst_LTLIBRARIES += libunihash.la
mv $@.new $@
endif
-check_PROGRAMS += unihash.t
-unihash_t_SOURCES = unihash.c
-unihash_t_CPPFLAGS = $(TEST_CPPFLAGS)
-unihash_t_LDFLAGS = -static
-
-tests:: unihash.t unihash.in
- ./unihash.t -f unihash.in
-
-EXTRA_DIST += unihash-check.pl
-CLEANFILES += unihash.in
-unihash.in: unihash-check.pl
- perl $(srcdir)/unihash-check.pl >$@.new && mv $@.new $@
+check_PROGRAMS += t/unihash.t
+t_unihash_t_SOURCES = t/unihash-test.c
+t_unihash_t_CPPFLAGS = $(TEST_CPPFLAGS)
+t_unihash_t_LDFLAGS = -static
+EXTRA_DIST += t/unihash-testgen.py
###----- That's all, folks --------------------------------------------------