diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-08-12 17:59:10 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-08-12 17:59:10 (GMT) |
commit | 283a6801fd11aeaf38b2298399c2bf622f743cf4 (patch) | |
tree | a63e3401309793844c29b08512d7a9dc12636fb3 /Swiften/QA/SConscript | |
parent | 2a28c1be20477ddf25a233ee34c991951295058b (diff) | |
download | swift-283a6801fd11aeaf38b2298399c2bf622f743cf4.zip swift-283a6801fd11aeaf38b2298399c2bf622f743cf4.tar.bz2 |
Added Slimber & valgrind testing to SCons.
Diffstat (limited to 'Swiften/QA/SConscript')
-rw-r--r-- | Swiften/QA/SConscript | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Swiften/QA/SConscript b/Swiften/QA/SConscript index 89d8285..6ee7365 100644 --- a/Swiften/QA/SConscript +++ b/Swiften/QA/SConscript @@ -1,9 +1,10 @@ Import("env") -if "test" in COMMAND_LINE_TARGETS or env.GetOption("clean") : +tests = ["NetworkTest", "ClientTest"] +if "test" in COMMAND_LINE_TARGETS or env.GetOption("clean") or len(set(tests) & set(COMMAND_LINE_TARGETS)): SConscript([ "NetworkTest/SConscript", "ClientTest/SConscript", ]) - test = env.Alias("test", ["NetworkTest", "ClientTest"]) + test = env.Alias("test", tests) |