summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/QA/ClientTest/SConscript')
-rw-r--r--Swiften/QA/ClientTest/SConscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/Swiften/QA/ClientTest/SConscript b/Swiften/QA/ClientTest/SConscript
index f0c73ff..e85d8c8 100644
--- a/Swiften/QA/ClientTest/SConscript
+++ b/Swiften/QA/ClientTest/SConscript
@@ -16,7 +16,9 @@ if env["TEST"] :
myenv.MergeFlags(myenv["PLATFORM_FLAGS"])
for i in ["SWIFT_CLIENTTEST_JID", "SWIFT_CLIENTTEST_PASS"]:
- if os.environ.get(i, "") :
+ if ARGUMENTS.get(i.lower(), False) :
+ myenv["ENV"][i] = ARGUMENTS[i.lower()]
+ elif os.environ.get(i, "") :
myenv["ENV"][i] = os.environ[i]
tester = myenv.Program("ClientTest", ["ClientTest.cpp"])