From a9c2a380b369988522e20a49384c44a066232084 Mon Sep 17 00:00:00 2001 From: Vince Harron Date: Tue, 12 May 2015 05:18:06 +0000 Subject: TestPublicAPIHeaders.py - Changed expectedFailureDarwin to skipIfDarwin expectedFailure doesn't work if the failure is in a teardown step. llvm-svn: 237089 --- lldb/test/api/check_public_api_headers/TestPublicAPIHeaders.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lldb/test/api/check_public_api_headers/TestPublicAPIHeaders.py') 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.""" -- cgit v1.2.3