summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2013-04-19 17:40:32 (GMT)
committerRemko Tronçon <git@el-tramo.be>2013-04-19 17:40:32 (GMT)
commitf5946a1273b363f46ae0753eccdf6bd96a72e997 (patch)
tree870f404231c77341a8a2bc819d16c4754698dc67 /QA/UnitTest
parent807de848578269f5fd868c78d17681959992e362 (diff)
downloadswift-f5946a1273b363f46ae0753eccdf6bd96a72e997.zip
swift-f5946a1273b363f46ae0753eccdf6bd96a72e997.tar.bz2
Avoid 'test' phase when parsing SConscripts.
Change-Id: I504fa7d33b8cb6572f05ba8478d277ddc7705483
Diffstat (limited to 'QA/UnitTest')
-rw-r--r--QA/UnitTest/SConscript5
1 files changed, 2 insertions, 3 deletions
diff --git a/QA/UnitTest/SConscript b/QA/UnitTest/SConscript
index 11e6fbb..53c38f5 100644
--- a/QA/UnitTest/SConscript
+++ b/QA/UnitTest/SConscript
@@ -6,7 +6,7 @@ if env["TEST"] :
if env["SCONS_STAGE"] == "flags" :
env["UNITTEST_SOURCES"] = []
env["UNITTEST_OBJECTS"] = []
- if env["SCONS_STAGE"] == "test" :
+ if env["SCONS_STAGE"] == "build" :
myenv = env.Clone()
myenv.UseFlags(env.get("CHECKER_FLAGS",""))
myenv.UseFlags(env.get("SLIMBER_FLAGS",""))
@@ -25,5 +25,4 @@ if env["TEST"] :
myenv.Program("checker", lib)
else :
checker = myenv.Program("checker", env["UNITTEST_SOURCES"] + env["UNITTEST_OBJECTS"])
- myenv.Test(checker, is_checker = True)
-
+ myenv.Test(checker, is_checker = True) \ No newline at end of file