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 /BuildTools/SCons
parent807de848578269f5fd868c78d17681959992e362 (diff)
downloadswift-f5946a1273b363f46ae0753eccdf6bd96a72e997.zip
swift-f5946a1273b363f46ae0753eccdf6bd96a72e997.tar.bz2
Avoid 'test' phase when parsing SConscripts.
Change-Id: I504fa7d33b8cb6572f05ba8478d277ddc7705483
Diffstat (limited to 'BuildTools/SCons')
-rw-r--r--BuildTools/SCons/SConstruct6
1 files changed, 5 insertions, 1 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 1de598f..d5faaf4 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -578,9 +578,13 @@ for dir in os.listdir(Dir("#").abspath) :
if os.path.isfile(sconscript) :
modules.append(dir)
+# QA comes last
+modules.remove("QA")
+modules.append("QA")
+
# Flags
env["PROJECTS"] = [m for m in modules if m not in ["Documentation", "QA", "SwifTools"] and not m.startswith("3rdParty")]
-for stage in ["flags", "build", "test"] :
+for stage in ["flags", "build"] :
env["SCONS_STAGE"] = stage
SConscript(dirs = map(lambda x : root + "/" + x, modules))