Commit 8a5c3979 authored by Denis Bilenko's avatar Denis Bilenko

testrunner.py: convert path to testresults.sqlite3 to work with tests that...

testrunner.py: convert path to testresults.sqlite3 to work with tests that chdir (test__doctests.py)

--HG--
extra : transplant_source : l%21g%5B%B8B%B6%BA%DElz%9F%A6%5E%23%C9%B9%8E%20%18
parent 5b26a6ca
......@@ -508,6 +508,7 @@ def main():
print 'Using the database: %s' % options.db
else:
sys.exit('Cannot access the database %r: no sqlite3 module found.' % (options.db, ))
options.db = os.path.abspath(options.db)
if options.db:
db = sqlite3.connect(options.db)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment