summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2012-04-09 23:20:30 -0700
committerGabe Black <gblack@eecs.umich.edu>2012-04-09 23:20:30 -0700
commit15ca4f2fc7c81bb3ade68cbff7d58bd01aa00d33 (patch)
treefeb667506bb89258e7901042692e78c445042b51 /src
parent3fd425124c7696c98b441d8b867147438c9a79b8 (diff)
downloadgem5-15ca4f2fc7c81bb3ade68cbff7d58bd01aa00d33.tar.xz
tests: Fix building unit tests.
Unit tests shouldn't build in gem5's main function because they have thier own.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SConscript b/src/SConscript
index 5a7d7d29d..9f11a45f3 100755
--- a/src/SConscript
+++ b/src/SConscript
@@ -901,7 +901,7 @@ def makeEnv(label, objsfx, strip = False, **kwargs):
test_sources = Source.get(**flags)
test_objs = [ make_obj(s, static=True) for s in test_sources ]
testname = "unittest/%s.%s" % (test.target, label)
- new_env.Program(testname, main_objs + test_objs + static_objs)
+ new_env.Program(testname, test_objs + static_objs)
progname = exename
if strip: