summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
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