summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/dosep.py
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-07-18 14:42:01 +0000
committerPavel Labath <labath@google.com>2016-07-18 14:42:01 +0000
commit5ab9732aef3c2d7af071de8492fd7c08e7984025 (patch)
treef224036f0577326d1a6a6629fa66812ff89d55d2 /lldb/packages/Python/lldbsuite/test/dosep.py
parent748d3efec6e14c75068c90d5439df243b39b1edb (diff)
downloadbcm5719-llvm-5ab9732aef3c2d7af071de8492fd7c08e7984025.tar.gz
bcm5719-llvm-5ab9732aef3c2d7af071de8492fd7c08e7984025.zip
Revert "[test] Report error when inferior test processes exit with a non-zero code"
This reverts r275782. The problem with the commit is that it reports an additional "exit (1)" error for every file containing a failing test, which is far more than I had intended to do. I'll need to come up with a more fine-grained way of achieving the result. llvm-svn: 275791
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dosep.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/dosep.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dosep.py b/lldb/packages/Python/lldbsuite/test/dosep.py
index 0503243dead..37ca91adb14 100644
--- a/lldb/packages/Python/lldbsuite/test/dosep.py
+++ b/lldb/packages/Python/lldbsuite/test/dosep.py
@@ -109,14 +109,13 @@ def report_test_failure(name, command, output, timeout):
with output_lock:
if not (RESULTS_FORMATTER and RESULTS_FORMATTER.is_using_terminal()):
print(file=sys.stderr)
+ print(output, file=sys.stderr)
if timeout:
timeout_str = " (TIMEOUT)"
else:
timeout_str = ""
print("[%s FAILED]%s" % (name, timeout_str), file=sys.stderr)
print("Command invoked: %s" % ' '.join(command), file=sys.stderr)
- print("Command stderr:\n", output[1], file=sys.stderr)
- print("Command stdout:\n", output[0], file=sys.stderr)
update_progress(name)
@@ -211,7 +210,7 @@ class DoTestProcessDriver(process_control.ProcessDriver):
# only stderr does.
report_test_pass(self.file_name, output[1])
else:
- report_test_failure(self.file_name, command, output, was_timeout)
+ report_test_failure(self.file_name, command, output[1], was_timeout)
# Save off the results for the caller.
self.results = (
OpenPOWER on IntegriCloud