diff options
author | Nathan Binkert <nate@binkert.org> | 2011-04-15 10:45:11 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2011-04-15 10:45:11 -0700 |
commit | 915f49ae9255372267aabe06e8c28c1fab8e43a5 (patch) | |
tree | c705ede98e96b8119c49a62d7ebec677a7de435d /src/unittest/SConscript | |
parent | 8c97726266a83fda31f8a68860157f195d7466ea (diff) | |
download | gem5-915f49ae9255372267aabe06e8c28c1fab8e43a5.tar.xz |
unittest: Make unit tests capable of using swig and python, convert stattest
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') |