Skip to content

Commit 753885e

Browse files
committed
[lldb][test] Skip TestQueueFromStdModule.py pre-Clang-17
Failing on the macOS matrix bot for Clang-15: ``` 07:38:40 File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-matrix/llvm-project/lldb/test/API/commands/expression/import-std-module/queue/TestQueueFromStdModule.py", line 38, in test 07:38:40 self.expect_expr( 07:38:40 File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2571, in expect_expr 07:38:40 value_check.check_value(self, eval_result, str(eval_result)) 07:38:40 File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 301, in check_value 07:38:40 test_base.assertSuccess(val.GetError()) 07:38:40 File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2606, in assertSuccess 07:38:40 self.fail(self._formatMessage(msg, "'{}' is not success".format(error))) 07:38:40 AssertionError: 'error: /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/module.modulemap:93:11: header 'stdarg.h' not found 07:38:40 93 | header "stdarg.h" // note: supplied by the compiler 07:38:40 | ^ 07:38:40 /Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-matrix/clang_1501_build/include/c++/v1/ctype.h:38:15: submodule of top-level module 'Darwin' implicitly imported here 07:38:40 38 | #include_next <ctype.h> 07:38:40 | ^ 07:38:40 error: While building module 'std' imported from <lldb wrapper prefix>:42: ```
1 parent 90d1d23 commit 753885e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lldb/test/API/commands/expression/import-std-module/queue/TestQueueFromStdModule.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ class TestQueue(TestBase):
1515
compiler_version=[">", "16.0"],
1616
bugnumber="https://github.com/llvm/llvm-project/issues/68968",
1717
)
18+
@skipIf(
19+
compiler="clang",
20+
compiler_version=["<", "17.0"],
21+
)
1822
def test(self):
1923
self.build()
2024

0 commit comments

Comments
 (0)