[Lldb-commits] [lldb] 618f11b - [lldb] Skip TestCppKeywordsAsCIdentifiers on Windows

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 16 09:42:26 PST 2020


Author: Raphael Isemann
Date: 2020-11-16T18:41:04+01:00
New Revision: 618f11ba0bf96107074e8c3f16753bbfd24b7062

URL: https://github.com/llvm/llvm-project/commit/618f11ba0bf96107074e8c3f16753bbfd24b7062
DIFF: https://github.com/llvm/llvm-project/commit/618f11ba0bf96107074e8c3f16753bbfd24b7062.diff

LOG: [lldb] Skip TestCppKeywordsAsCIdentifiers on Windows

Somehow static_assert is a keyword with C on Windows (maybe the Windows
default is C11?). Skipping the test for now.

Added: 
    

Modified: 
    lldb/test/API/lang/c/cpp_keyword_identifiers/TestCppKeywordsAsCIdentifiers.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/lang/c/cpp_keyword_identifiers/TestCppKeywordsAsCIdentifiers.py b/lldb/test/API/lang/c/cpp_keyword_identifiers/TestCppKeywordsAsCIdentifiers.py
index 67cfdc0f0d39..54cb1c8b1526 100644
--- a/lldb/test/API/lang/c/cpp_keyword_identifiers/TestCppKeywordsAsCIdentifiers.py
+++ b/lldb/test/API/lang/c/cpp_keyword_identifiers/TestCppKeywordsAsCIdentifiers.py
@@ -7,6 +7,8 @@ class TestCase(TestBase):
 
     mydir = TestBase.compute_mydir(__file__)
 
+    # FIXME: Clang on Windows somehow thinks static_assert is a C keyword.
+    @skipIfWindows
     @no_debug_info_test
     def test(self):
         self.build()


        


More information about the lldb-commits mailing list