changeset 5534a564f6a0 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=5534a564f6a0
description:
        tests: Fix building unit tests.

        Unit tests shouldn't build in gem5's main function because they have 
thier
        own.

diffstat:

 src/SConscript |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r a47fd7c2d44e -r 5534a564f6a0 src/SConscript
--- a/src/SConscript    Fri Apr 06 17:51:47 2012 -0700
+++ b/src/SConscript    Mon Apr 09 23:20:30 2012 -0700
@@ -901,7 +901,7 @@
         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:
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to