diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2012-04-09 23:20:30 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2012-04-09 23:20:30 -0700 |
commit | 15ca4f2fc7c81bb3ade68cbff7d58bd01aa00d33 (patch) | |
tree | feb667506bb89258e7901042692e78c445042b51 /src/SConscript | |
parent | 3fd425124c7696c98b441d8b867147438c9a79b8 (diff) | |
download | gem5-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/SConscript')
-rwxr-xr-x | src/SConscript | 2 |
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: |