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 " *******************************************"