summaryrefslogtreecommitdiff
path: root/src/unittest
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2012-05-10 18:04:28 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2012-05-10 18:04:28 -0500
commit331696582f1a0e164dd6833e9eaee81559d49dff (patch)
tree58e317f4e75a21c81657e994565aa53634aadf6d /src/unittest
parentec50c78f8311d37aa57be571be05fbb128ab8bb7 (diff)
downloadgem5-331696582f1a0e164dd6833e9eaee81559d49dff.tar.xz
stats: fix compilation of unit test.
Diffstat (limited to 'src/unittest')
-rw-r--r--src/unittest/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unittest/SConscript b/src/unittest/SConscript
index 3ceae23b5..d409ec9a5 100644
--- a/src/unittest/SConscript
+++ b/src/unittest/SConscript
@@ -52,7 +52,7 @@ UnitTest('trietest', 'trietest.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('stattest', 'stattest.cc', stattest_py, stattest_swig, main=True)
UnitTest('symtest', 'symtest.cc')
UnitTest('tokentest', 'tokentest.cc')