summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorTodd Fiala <todd.fiala@gmail.com>2015-12-11 22:45:52 +0000
committerTodd Fiala <todd.fiala@gmail.com>2015-12-11 22:45:52 +0000
commit9a58133698c831321785863c83f69ec1145cfb69 (patch)
tree3f89f42d50024c3b17cf67383f2cb55ddebea32c /lldb/packages/Python/lldbsuite/test
parent8aed42229414d212faeb658ba6fe1c0a6cdd38cd (diff)
downloadbcm5719-llvm-9a58133698c831321785863c83f69ec1145cfb69.tar.gz
bcm5719-llvm-9a58133698c831321785863c83f69ec1145cfb69.zip
Use new set when checking if a test event type matches the job/test result types
llvm-svn: 255385
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/result_formatter.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/result_formatter.py b/lldb/packages/Python/lldbsuite/test/result_formatter.py
index 97319f84957..cf0a6cf6b31 100644
--- a/lldb/packages/Python/lldbsuite/test/result_formatter.py
+++ b/lldb/packages/Python/lldbsuite/test/result_formatter.py
@@ -738,9 +738,7 @@ class ResultsFormatter(object):
if event_type == "terminate":
self.terminate_called = True
- elif event_type in [
- EventBuilder.TYPE_TEST_RESULT,
- EventBuilder.TYPE_JOB_RESULT]:
+ elif event_type in EventBuilder.RESULT_TYPES:
# Keep track of event counts per test/job result status type.
# The only job (i.e. inferior process) results that make it
# here are ones that cannot be remapped to the most recently
OpenPOWER on IntegriCloud