summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/dosep.py
diff options
context:
space:
mode:
authorTodd Fiala <todd.fiala@gmail.com>2015-12-09 19:05:44 +0000
committerTodd Fiala <todd.fiala@gmail.com>2015-12-09 19:05:44 +0000
commit0a7c32b38e36e16ee7c406cb26e9f13df1eb1a1a (patch)
treebac4fe427108719159fe3f6fd02d0e100cc46afd /lldb/packages/Python/lldbsuite/test/dosep.py
parentb67e6b6044fa9fda5bd221dbc93b20536bf20d29 (diff)
downloadbcm5719-llvm-0a7c32b38e36e16ee7c406cb26e9f13df1eb1a1a.tar.gz
bcm5719-llvm-0a7c32b38e36e16ee7c406cb26e9f13df1eb1a1a.zip
Fix new summary to include exceptional exit count in determining exit value
The main dotest.py should exit with a system return code of 1 on any issue. This change fixes a place where I omitted counting the exceptional exit value to determine if we should return 1 when using the new summary results. This change also puts a banner around the Issue Details section that comes before the Test Result Summary. llvm-svn: 255138
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dosep.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/dosep.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dosep.py b/lldb/packages/Python/lldbsuite/test/dosep.py
index 0861b709732..f346d7ebfc9 100644
--- a/lldb/packages/Python/lldbsuite/test/dosep.py
+++ b/lldb/packages/Python/lldbsuite/test/dosep.py
@@ -1557,7 +1557,9 @@ def main(print_details_on_success, num_threads, test_subdir,
results_formatter.counts_by_test_result_status(
EventBuilder.STATUS_FAILURE) +
results_formatter.counts_by_test_result_status(
- EventBuilder.STATUS_TIMEOUT)
+ EventBuilder.STATUS_TIMEOUT) +
+ results_formatter.counts_by_test_result_status(
+ EventBuilder.STATUS_EXCEPTIONAL_EXIT)
)
# Return with appropriate result code
OpenPOWER on IntegriCloud