From eba0ab506bfa33e7810163bc255d0af4a14ac8db Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 15 Jun 2018 20:02:54 -0700 Subject: systemc: Add some common test include files. These are "common" in the sense that they're not in a particular test directory, but I think they're only used by one test. Change-Id: I4ffd209d04ed0e5253085810913827b87412b302 Reviewed-on: https://gem5-review.googlesource.com/11272 Reviewed-by: Gabe Black Maintainer: Gabe Black --- src/systemc/tests/SConscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/systemc/tests/SConscript') diff --git a/src/systemc/tests/SConscript b/src/systemc/tests/SConscript index 81f122dab..086ffee26 100644 --- a/src/systemc/tests/SConscript +++ b/src/systemc/tests/SConscript @@ -62,6 +62,7 @@ if env['USE_SYSTEMC']: } ext_dir = Dir('..').Dir('ext') + test_dir = Dir('.') class SystemCTestBin(Executable): def __init__(self, test): super(SystemCTestBin, self).__init__(test.target, *test.sources) @@ -75,6 +76,7 @@ if env['USE_SYSTEMC']: env['CCFLAGS'] = \ filter(lambda f: f not in to_remove, env['CCFLAGS']) + env.Append(CPPPATH=test_dir.Dir('include')) env.Append(CPPPATH=ext_dir) super(SystemCTestBin, cls).declare_all(env) -- cgit v1.2.3