[test] Fix category-based skipping
authorPavel Labath <labath@google.com>
Tue, 12 Jul 2016 15:07:18 +0000 (15:07 +0000)
committerPavel Labath <labath@google.com>
Tue, 12 Jul 2016 15:07:18 +0000 (15:07 +0000)
commit8a93f822e1763b58a452107c58f925a1a61eb6ff
treed52c10515ae9739e614987ec5c97ffc9752e2d16
parent6fe307334f4eabbb780870c1b566881cb4631e16
[test] Fix category-based skipping

Summary:
LLDBTestResult.hardMarkAsSkipped marked the whole class as skipped when the first class in the
test failed the category check. This meant that subsequent tests in the same class did not run
even if they were passing the category filter. Fix that.

Reviewers: tfiala

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D22213

llvm-svn: 275173
lldb/packages/Python/lldbsuite/test/test_result.py