Create ASCII and UTF-8 binaries for testing

This commit is contained in:
Tim Rühsen 2016-11-05 11:17:11 +01:00
parent 3ac807d987
commit e30e77ef12
1 changed files with 6 additions and 4 deletions

View File

@ -24,11 +24,13 @@ check_PROGRAMS = $(PSL_TESTS)
TESTS_ENVIRONMENT = TESTS_VALGRIND="@VALGRIND_ENVIRONMENT@" TESTS_ENVIRONMENT = TESTS_VALGRIND="@VALGRIND_ENVIRONMENT@"
TESTS = $(PSL_TESTS) 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 # check-local target works in parallel to the tests, so the test suite will likely fail
BUILT_SOURCES = dafsa.psl BUILT_SOURCES = psl.dafsa psl_ascii.dafsa
dafsa.psl: psl.dafsa:
$(top_srcdir)/src/psl-make-dafsa --input-format=psl --output-format=binary "$(PSL_FILE)" 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: clean-local:
rm -f psl.dafsa rm -f psl.dafsa psl_ascii.dafsa