mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
minor: cleaner
This commit is contained in:
parent
bf45fb5dea
commit
54f2bfb90e
@ -1633,12 +1633,8 @@ def build_and_test_client(env, target, source):
|
||||
from subprocess import call
|
||||
|
||||
call("scons", cwd=installDir)
|
||||
tests = call(["python", "buildscripts/smoke.py",
|
||||
"--test-path", installDir, "smokeClient"])
|
||||
if not tests:
|
||||
return False
|
||||
else:
|
||||
return True
|
||||
return bool(call(["python", "buildscripts/smoke.py",
|
||||
"--test-path", installDir, "smokeClient"]))
|
||||
env.Alias("clientBuild", [mongod, installDir], [build_and_test_client])
|
||||
env.AlwaysBuild("clientBuild")
|
||||
env.Alias("clientDist", ["clientBuild", "dist"], [])
|
||||
|
Loading…
Reference in New Issue
Block a user