diff options
author | Dan Crosta <dcrosta@late.am> | 2012-01-31 10:37:37 -0500 |
---|---|---|
committer | Dan Crosta <dcrosta@late.am> | 2012-01-31 10:38:40 -0500 |
commit | ad30979f8afeb60121dfb17195b23825a1fb7cec (patch) | |
tree | c27b52581a67c0f257ef748079434d97744946a6 | |
parent | d774a10495e1a59660c6b83b80ba76b872151c75 (diff) | |
download | mongo-ad30979f8afeb60121dfb17195b23825a1fb7cec.tar.gz |
call smoke.py with python 2.5
-rw-r--r-- | SConstruct | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct index 3a30cd9352f..0de0cea02cb 100644 --- a/SConstruct +++ b/SConstruct @@ -1250,7 +1250,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" ] ) @@ -1648,7 +1648,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") |