systemc: Always set USE_SYSTEMC=1 when compiling with verify.py.
authorGabe Black <gabeblack@google.com>
Sat, 28 Jul 2018 08:49:52 +0000 (01:49 -0700)
committerGabe Black <gabeblack@google.com>
Thu, 20 Sep 2018 01:38:28 +0000 (01:38 +0000)
It doesn't make sense not to have systemc enabled when building the
systemc regression tests.

Change-Id: I23b81fd4d7cbd0dbf5efbea773d816296d6492be
Reviewed-on: https://gem5-review.googlesource.com/12065
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

src/systemc/tests/verify.py

index e98f2191af7af27a3b669bdecc32d5cf139349dd..26183b5bb28113a87440f3abddd9ea309bc7ba50 100755 (executable)
@@ -121,7 +121,7 @@ class CompilePhase(TestPhaseBase):
 
     def run(self, tests):
         targets = list([test.full_path() for test in tests])
-        scons_args = list(self.args) + targets
+        scons_args = [ 'USE_SYSTEMC=1' ] + list(self.args) + targets
         scons(*scons_args)
 
 class RunPhase(TestPhaseBase):