From ef2e83d3967eb42e25c1ae026a653da78c129493 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Thu, 19 Mar 2015 00:10:37 -0400 Subject: [PATCH] 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. --- os_testr/os_testr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os_testr/os_testr.py b/os_testr/os_testr.py index 819414d..149d5ce 100755 --- a/os_testr/os_testr.py +++ b/os_testr/os_testr.py @@ -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()