From e30e77ef127702e3ffe71c49051f362cdef5bf48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Sat, 5 Nov 2016 11:17:11 +0100 Subject: [PATCH] Create ASCII and UTF-8 binaries for testing --- tests/Makefile.am | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index d3e9667..d15c8a7 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -24,11 +24,13 @@ check_PROGRAMS = $(PSL_TESTS) TESTS_ENVIRONMENT = TESTS_VALGRIND="@VALGRIND_ENVIRONMENT@" TESTS = $(PSL_TESTS) -# dafsa.psl must be created before any test is executed +# dafsa.psl and dafsa_ascii.psl must be created before any test is executed # check-local target works in parallel to the tests, so the test suite will likely fail -BUILT_SOURCES = dafsa.psl -dafsa.psl: +BUILT_SOURCES = psl.dafsa psl_ascii.dafsa +psl.dafsa: $(top_srcdir)/src/psl-make-dafsa --input-format=psl --output-format=binary "$(PSL_FILE)" psl.dafsa +psl_ascii.dafsa: + $(top_srcdir)/src/psl-make-dafsa --input-format=psl --output-format=binary --encoding=ascii "$(PSL_FILE)" psl_ascii.dafsa clean-local: - rm -f psl.dafsa \ No newline at end of file + rm -f psl.dafsa psl_ascii.dafsa