diff options
author | Will Estes <westes575@gmail.com> | 2014-06-16 19:59:21 -0400 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2014-11-12 05:14:27 -0500 |
commit | dd021b412c7e5b5ce504857dc93c494c6c0569bd (patch) | |
tree | 618fa245a9fd49ee7ebd026391ae00f481f50750 /tests/Makefile.am | |
parent | 43e17a87dbba400ec0b849de01d4c16c21e39f95 (diff) |
Refactor rescan_nr test for new test suite layout.
Also add -r option to testwrapper.sh to support passing input file as
a command line argument to the test scanner without using shell
redirection.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 72b680b..0f170f0 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -27,20 +27,23 @@ TESTS = $(check_PROGRAMS) # automake knows how to distinguish between the various kinds of tests # we have. -TEST_EXTENSIONS = .reject .table +TEST_EXTENSIONS = .reject .table .direct LOG_COMPILER = $(srcdir)/testwrapper.sh -AM_LOG_FLAGS = -d $(srcdir) +AM_LOG_FLAGS = -d $(srcdir) -r REJECT_LOG_COMPILER = $(srcdir)/testwrapper.sh -AM_REJECT_LOG_FLAGS = -d $(srcdir) -i reject.txt +AM_REJECT_LOG_FLAGS = -d $(srcdir) -i reject.txt -r TABLE_LOG_COMPILER = $(srcdir)/testwrapper.sh AM_TABLE_LOG_FLAGS = -d $(srcdir) -i reject.txt -t +DIRECT_LOG_COMPILER=$(srcdir)/testwrapper.sh +AM_DIRECT_LOG_FLAGS = -d $(srcdir) + AM_YFLAGS = -d -p test -check_PROGRAMS = $(simple_tests) $(reject_tests) $(TABLE_TESTS) +check_PROGRAMS = $(simple_tests) $(reject_tests) $(TABLE_TESTS) $(DIRECT_TESTS) simple_tests = \ alloc_extra \ @@ -85,6 +88,9 @@ TABLE_TESTS = \ reject_ver.table \ reject_ser.table +DIRECT_TESTS = \ + rescan_nr + alloc_extra_SOURCES = alloc_extra.l array_nr_SOURCES = array_nr.l array_r_SOURCES = array_r.l @@ -118,6 +124,7 @@ reject_nr_reject_SOURCES = reject.l4 reject_r_reject_SOURCES = reject.l4 reject_ver_table_SOURCES = reject.l4 reject_ser_table_SOURCES = reject.l4 +rescan_nr_SOURCES = rescan_nr.l string_nr_SOURCES = string_nr.l string_r_SOURCES = string_r.l top_SOURCES = top.l top_main.c @@ -187,6 +194,7 @@ basic_nr.txt \ reject_r.reject.c \ reject_ver.table.c \ reject_ser.table.c \ + rescan_nr.txt \ quotes.txt \ top.h \ top.txt \ |