Test driver should also report skipped tests because there were cases when tests were skipped
due to incorrect skip-logic.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137678 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/dotest.py b/test/dotest.py
index 003a494..cf0676d 100755
--- a/test/dotest.py
+++ b/test/dotest.py
@@ -1023,6 +1023,14 @@
if method:
method()
+ def addSkip(self, test, reason):
+ global sdir_has_content
+ sdir_has_content = True
+ super(LLDBTestResult, self).addSkip(test, reason)
+ method = getattr(test, "markSkippedTest", None)
+ if method:
+ method()
+
def addUnexpectedSuccess(self, test):
global sdir_has_content
sdir_has_content = True