From 09eae589d3954a1e1206aa01108ee75ef57776da Mon Sep 17 00:00:00 2001 From: Mightyjo Date: Mon, 16 Nov 2015 21:39:02 -0800 Subject: [PATCH] Used in-tree header file for c++ tests. --- tests/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Makefile.am b/tests/Makefile.am index 4ac3c17..39faf56 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -54,6 +54,7 @@ ONE_LOG_COMPILER = $(srcdir)/testwrapper.sh AM_ONE_LOG_FLAGS = -1 -d $(srcdir) AM_YFLAGS = -d -p test +AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src check_PROGRAMS = $(simple_tests) $(reject_tests) $(TABLE_TESTS) $(DIRECT_TESTS) $(I3_TESTS) $(PTHREAD_TESTS) $(ONE_TESTS) $(TABLEOPTS_TESTS) @@ -134,6 +135,7 @@ ccl_SOURCES = ccl.l cxx_basic_SOURCES = cxx_basic.ll cxx_multiple_scanners_SOURCES = cxx_multiple_scanners_main.cc cxx_multiple_scanners_1.ll cxx_multiple_scanners_2.ll cxx_yywrap_i3_SOURCES = cxx_yywrap.ll +cxx_yywrap_i3_CPPFLAGS = -I$(top_srcdir)/src debug_nr_SOURCES = debug_nr.l debug_r_SOURCES = debug_r.l extended_SOURCES = extended.l -- 2.40.0