[Lldb-commits] [lldb] r255385 - Use new set when checking if a test event type matches the job/test result types
Todd Fiala via lldb-commits
lldb-commits at lists.llvm.org
Fri Dec 11 14:45:52 PST 2015
Author: tfiala
Date: Fri Dec 11 16:45:52 2015
New Revision: 255385
URL: http://llvm.org/viewvc/llvm-project?rev=255385&view=rev
Log:
Use new set when checking if a test event type matches the job/test result types
Modified:
lldb/trunk/packages/Python/lldbsuite/test/result_formatter.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/result_formatter.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/result_formatter.py?rev=255385&r1=255384&r2=255385&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/result_formatter.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/result_formatter.py Fri Dec 11 16:45:52 2015
@@ -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
More information about the lldb-commits
mailing list