Commit 37cd9806 authored by Denis Bilenko's avatar Denis Bilenko

testrunner.py: if sqlite3 module is not available do not pass "None" as...

testrunner.py: if sqlite3 module is not available do not pass "None" as database name to the subprocesses
parent ea41e544
......@@ -208,9 +208,10 @@ def run_subprocess(arg, options):
popen_args = [sys.executable, sys.argv[0], '--record',
'--runid', options.runid,
'--verbosity', options.verbosity,
'--db', options.db,
arg]
'--verbosity', options.verbosity]
if options.db:
popen_args += ['--db', options.db]
popen_args += [arg]
popen_args = [str(x) for x in popen_args]
if options.capture:
popen = Popen(popen_args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=False)
......
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