summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVince Harron <vince@nethacker.com>2015-05-12 05:18:06 +0000
committerVince Harron <vince@nethacker.com>2015-05-12 05:18:06 +0000
commita9c2a380b369988522e20a49384c44a066232084 (patch)
treec966ab9b2d39e2ddb76ed8ae157d69ab39d29f3d
parent123e3eb0be6cd64b0563af2e0824063c1b34a142 (diff)
downloadbcm5719-llvm-a9c2a380b369988522e20a49384c44a066232084.tar.gz
bcm5719-llvm-a9c2a380b369988522e20a49384c44a066232084.zip
TestPublicAPIHeaders.py - Changed expectedFailureDarwin to skipIfDarwin
expectedFailure doesn't work if the failure is in a teardown step. llvm-svn: 237089
-rw-r--r--lldb/test/api/check_public_api_headers/TestPublicAPIHeaders.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/test/api/check_public_api_headers/TestPublicAPIHeaders.py b/lldb/test/api/check_public_api_headers/TestPublicAPIHeaders.py
index 9bcbb1a0e63..63e21ffb4f4 100644
--- a/lldb/test/api/check_public_api_headers/TestPublicAPIHeaders.py
+++ b/lldb/test/api/check_public_api_headers/TestPublicAPIHeaders.py
@@ -21,7 +21,8 @@ class SBDirCheckerCase(TestBase):
self.exe_name = 'a.out'
@skipIfNoSBHeaders
- @expectedFailureDarwin # test passes but teardown command 'settings remove target.env-vars DYLD_LIBRARY_PATH' fails
+ @skipIfDarwin # test passes but teardown command 'settings remove target.env-vars DYLD_LIBRARY_PATH' fails
+ # (expectedFailureDarwin doesn't work for teardown failures)
def test_sb_api_directory(self):
"""Test the SB API directory and make sure there's no unwanted stuff."""
OpenPOWER on IntegriCloud