summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/QA/SConscript')
-rw-r--r--Swiften/QA/SConscript5
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)