Commit 9560e99f 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)
parent c853dacc
......@@ -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