summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuildscripts/smoke.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py
index c539a677990..0023226bd3c 100755
--- a/buildscripts/smoke.py
+++ b/buildscripts/smoke.py
@@ -271,7 +271,8 @@ def runTest(test):
elif os.path.basename(path) == 'mongos':
argv=[path, "--test"]
else:
- argv=[path, "--port", mongodPort]
+ argv=[testPath and os.path.abspath(os.path.join(testPath, path)) or path,
+ "--port", mongodPort]
else:
raise Bug("fell off in extenstion case: %s" % path)
print " *******************************************"