Ensure failure is printed with --until-failure in pretty mode

This commit adds a missing option to calling subunit trace inside the
until-failure loop. Previously, when a test failed it would not print
the failure output which would make it impossible to debug why it had
failed. This fixes that oversight.
This commit is contained in:
Matthew Treinish 2015-03-19 00:10:37 -04:00
parent 6101ef52f9
commit ef2e83d396

View File

@ -139,7 +139,7 @@ def call_testr(regex, subunit, pretty, list_tests, slowest, parallel, concur,
cmd = ['python', '-m', 'subunit.run', test]
ps = subprocess.Popen(cmd, env=env, stdout=subprocess.PIPE)
proc = subprocess.Popen(['subunit-trace',
'--no-failure-debug',
'--no-failure-debug', '-f',
'--no-summary'], env=env,
stdin=ps.stdout)
ps.stdout.close()