Bug 753181 - Interpret paths relative to cwd instead of Marionette, r=mdas, a=test-only, DONTBUILD because NPOTB

--HG--
extra : rebase_source : 5b94c5fc397c8190a76bb05f247c655e5b72eac9
This commit is contained in:
Jonathan Griffin 2012-05-09 17:03:13 -07:00
parent 67397318e7
commit 24a0eb8b3a

View File

@ -265,10 +265,7 @@ class MarionetteTestRunner(object):
if not self.marionette:
self.start_marionette()
if not os.path.isabs(test):
filepath = os.path.join(os.path.dirname(__file__), test)
else:
filepath = test
filepath = os.path.abspath(test)
if os.path.isdir(filepath):
for root, dirs, files in os.walk(filepath):