mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
minor: use testPath as dirname if it's present
This commit is contained in:
parent
684486e7e0
commit
44aadcec4a
@ -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 " *******************************************"
|
||||
|
Loading…
Reference in New Issue
Block a user