summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-04-17 10:42:55 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-04-18 19:11:46 (GMT)
commiteadf2fa562b8017b505151a171a8f8ca7796cab6 (patch)
tree60f29125661103b0e77f648ca559b06255267a08 /BuildTools/SCons/SConstruct
parent60925bd2f77df3be75ad46118a940a096499f18b (diff)
downloadswift-contrib-eadf2fa562b8017b505151a171a8f8ca7796cab6.zip
swift-contrib-eadf2fa562b8017b505151a171a8f8ca7796cab6.tar.bz2
Added option to build library with tests.
Diffstat (limited to 'BuildTools/SCons/SConstruct')
-rw-r--r--BuildTools/SCons/SConstruct1
1 files changed, 1 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 246092d..0ee1d0e 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -212,6 +212,7 @@ env["TEST"] = (env["TEST_TYPE"] != "none") or env.GetOption("clean")
if env.get("valgrind", 0) :
env["TEST_RUNNER"] = "valgrind --suppressions=QA/valgrind.supp -q --leak-check=full --track-origins=yes "
env["TEST_IGNORE_RESULT"] = "ignore_test_result" in ARGUMENTS
+env["TEST_CREATE_LIBRARIES"] = "create_test_libraries" in ARGUMENTS
# Packaging
env["DIST"] = "dist" in ARGUMENTS or env.GetOption("clean")