0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 17:10:48 +01:00

Tweak smoke.py to avoid double-slashes (workaround for old boosts?).

This commit is contained in:
Richard Kreuter 2010-06-11 15:57:08 -04:00
parent 5454fd7f46
commit 5e68517674

View File

@ -250,7 +250,7 @@ def expandSuites(suites):
raise Exception('unknown test suite %s' % suite)
if globstr:
globstr = mongoRepo+('/jstests/' if globstr.endswith('.js') else '/')+globstr
globstr = mongoRepo+('jstests/' if globstr.endswith('.js') else '/')+globstr
tests += [(path, usedb) for path in glob.glob(globstr)]
return tests