diff options
Diffstat (limited to 'src/unittest/SConscript')
-rw-r--r-- | src/unittest/SConscript | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/unittest/SConscript b/src/unittest/SConscript index 09286dac3..606bffd05 100644 --- a/src/unittest/SConscript +++ b/src/unittest/SConscript @@ -47,8 +47,12 @@ UnitTest('rangetest', 'rangetest.cc') UnitTest('rangemaptest', 'rangemaptest.cc') UnitTest('rangemultimaptest', 'rangemultimaptest.cc') UnitTest('refcnttest', 'refcnttest.cc') -UnitTest('stattest', 'stattest.cc') UnitTest('strnumtest', 'strnumtest.cc') + +stattest_py = PySource('m5', 'stattestmain.py', skip_lib=True) +stattest_swig = SwigSource('m5.internal', 'stattest.i', skip_lib=True) +UnitTest('stattest', 'stattest.cc', stattest_py, stattest_swig) + UnitTest('symtest', 'symtest.cc') UnitTest('tokentest', 'tokentest.cc') UnitTest('tracetest', 'tracetest.cc') |