summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorKristina Chodorow <kristina@10gen.com>2010-10-10 14:59:30 -0400
committerKristina Chodorow <kristina@10gen.com>2010-10-10 14:59:30 -0400
commit7066dcd21a77d187eae57c1cf552e1fabb7bce8f (patch)
tree1822d6c398172779a8cfa5f960ca73fcb0833541 /buildscripts
parentfb0e0352fec0e0dc9e9eedc7ba959b826369d159 (diff)
downloadmongo-7066dcd21a77d187eae57c1cf552e1fabb7bce8f.tar.gz
check existence of mongo & mongod
Diffstat (limited to 'buildscripts')
-rwxr-xr-xbuildscripts/smoke.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py
index d2ef92ff3d0..dcfd7027b9e 100755
--- a/buildscripts/smoke.py
+++ b/buildscripts/smoke.py
@@ -423,9 +423,19 @@ def main():
print tests
test_path = options.test_path
+
mongod_executable = options.mongod_executable
+ if not os.path.exists(mongod_executable):
+ print "ERROR: no mongod found in this directory."
+ return
+
mongod_port = options.mongod_port
+
shell_executable = options.shell_executable
+ if not os.path.exists(shell_executable):
+ print "ERROR: no mongo shell found in this directory."
+ return
+
continue_on_failure = options.continue_on_failure
smoke_db_prefix = options.smoke_db_prefix
small_oplog = options.small_oplog