0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00

add --extrapath to client build

This commit is contained in:
Mike Dirolf 2010-07-28 10:57:31 -04:00
parent cdc48b26f1
commit 5eb93a30e6

View File

@ -1655,6 +1655,9 @@ if installDir[-1] != "/":
def build_and_test_client(env, target, source):
from subprocess import call
if GetOption("extrapath") is not None:
call("scons --extrapath=%s" % GetOption("extrapath"), cwd=installDir)
else:
call("scons", cwd=installDir)
return bool(call(["python", "buildscripts/smoke.py",
"--test-path", installDir, "smokeClient"]))