Permalink
Browse files

call smoke.py with python 2.5

  • Loading branch information...
1 parent d774a10 commit ad30979f8afeb60121dfb17195b23825a1fb7cec @dcrosta dcrosta committed Jan 31, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 SConstruct
View
@@ -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")

0 comments on commit ad30979

Please sign in to comment.