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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits