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

minor: cleaner

This commit is contained in:
Mike Dirolf 2010-07-23 17:32:23 -04:00
parent bf45fb5dea
commit 54f2bfb90e

View File

@ -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"], [])