blob: 1b4cdbca0b649f6bdb497d2d76b0b32a9cf645a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import os
Import("env")
if env["TEST"] :
myenv = env.Clone()
myenv.UseFlags(myenv["SWIFTEN_FLAGS"])
myenv.UseFlags(myenv["SWIFTEN_DEP_FLAGS"])
for i in ["SWIFT_FILETRANSFERTEST_JID", "SWIFT_FILETRANSFERTEST_PASS", "SWIFT_FILETRANSFERTEST2_JID", "SWIFT_FILETRANSFERTEST2_PASS"]:
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("ConcurrentFileTransferTest", ["ConcurrentFileTransferTest.cpp"])
myenv.Test(tester, "system")
|