diff options
author | Mike Dirolf <mike@10gen.com> | 2010-07-28 15:08:25 -0400 |
---|---|---|
committer | Mike Dirolf <mike@10gen.com> | 2010-07-28 15:08:25 -0400 |
commit | 44aadcec4af2af6100d3f9897fa424b56c7aa40c (patch) | |
tree | 071cc683d87cc6cd467da7dd67fafcd55026eb94 /buildscripts | |
parent | 684486e7e0ada96a56ec601aa0b5ca24aacffc9e (diff) | |
download | mongo-44aadcec4af2af6100d3f9897fa424b56c7aa40c.tar.gz |
minor: use testPath as dirname if it's present
Diffstat (limited to 'buildscripts')
-rwxr-xr-x | buildscripts/smoke.py | 3 |
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 " *******************************************" |