summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Crosta <dcrosta@late.am>2012-01-31 10:37:37 -0500
committerDan Crosta <dcrosta@late.am>2012-01-31 10:37:37 -0500
commit9bc41894719f1ba737d62d4c71e2d55d896b45c1 (patch)
treef574e1e8e3b0f3e7a2919cd1fe099a63d2f2e8b6
parent330e2a74077be803f6301331c489ab181beae1da (diff)
downloadmongo-9bc41894719f1ba737d62d4c71e2d55d896b45c1.tar.gz
call smoke.py with python 2.5
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index c6c8ef3be6f..9c9a606d40b 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1229,7 +1229,7 @@ def addSmoketest( name, deps ):
else:
target = name[5].lower() + name[6:]
- addTest(name, deps, [ "python buildscripts/smoke.py " + " ".join(smokeFlags) + ' ' + target ])
+ addTest(name, deps, [ "python2.5 buildscripts/smoke.py " + " ".join(smokeFlags) + ' ' + target ])
addSmoketest( "smoke", [ add_exe( "test" ) ] )
addSmoketest( "smokePerf", [ "perftest" ] )
@@ -1627,7 +1627,7 @@ def build_and_test_client(env, target, source):
call(scons_command + ["libmongoclient.a", "clientTests"], cwd=installDir)
- return bool(call(["python", "buildscripts/smoke.py",
+ return bool(call(["python2.5", "buildscripts/smoke.py",
"--test-path", installDir, "client"]))
env.Alias("clientBuild", [mongod, installDir], [build_and_test_client])
env.AlwaysBuild("clientBuild")