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 <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user