summaryrefslogtreecommitdiff
path: root/src/unittest/SConscript
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-01-18 01:26:55 -0800
committerGabe Black <gblack@eecs.umich.edu>2011-01-18 01:26:55 -0800
commitc04571d601fcac17a8c9f0f6d9b29e521dc145a0 (patch)
tree43c9d5fef3c89232c8b14d72c78e1162289c778b /src/unittest/SConscript
parent318bfe9d4f4308321dfa923d3da36230fc98d62e (diff)
downloadgem5-c04571d601fcac17a8c9f0f6d9b29e521dc145a0.tar.xz
Unit tests: Define a header file for common unit testing functions/macros.
Diffstat (limited to 'src/unittest/SConscript')
-rw-r--r--src/unittest/SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unittest/SConscript b/src/unittest/SConscript
index e7e2a6013..09286dac3 100644
--- a/src/unittest/SConscript
+++ b/src/unittest/SConscript
@@ -33,6 +33,8 @@ Import('*')
if env['TARGET_ISA'] == 'no':
Return()
+Source('unittest.cc')
+
UnitTest('bitvectest', 'bitvectest.cc')
UnitTest('circletest', 'circletest.cc')
UnitTest('cprintftest', 'cprintftest.cc')