apple / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This fork is used to manage Apple’s stable releases of Clang as well as support the Swift project.
https://llvm.org
Other
1.1k stars 320 forks source link

Skip test on older platforms #8834

Closed adrian-prantl closed 1 month ago

adrian-prantl commented 1 month ago

@swift-ci test

Michael137 commented 1 month ago
--
Command Output (stderr):
--
Traceback (most recent call last):
  File "/Users/ec2-user/jenkins/workspace/apple-llvm-project-pr-macos/branch-swift/release/6.0/llvm-project/lldb/test/API/dotest.py", line 8, in <module>
    lldbsuite.test.run_suite()
  File "/Users/ec2-user/jenkins/workspace/apple-llvm-project-pr-macos/branch-swift/release/6.0/llvm-project/lldb/packages/Python/lldbsuite/test/dotest.py", line 1040, in run_suite
    visit("Test", dirpath, filenames)
  File "/Users/ec2-user/jenkins/workspace/apple-llvm-project-pr-macos/branch-swift/release/6.0/llvm-project/lldb/packages/Python/lldbsuite/test/dotest.py", line 714, in visit
    visit_file(dir, name)
  File "/Users/ec2-user/jenkins/workspace/apple-llvm-project-pr-macos/branch-swift/release/6.0/llvm-project/lldb/packages/Python/lldbsuite/test/dotest.py", line 655, in visit_file
    module = __import__(base)
  File "/Users/ec2-user/jenkins/workspace/apple-llvm-project-pr-macos/branch-swift/release/6.0/llvm-project/lldb/test/API/lang/swift/late_swift_dylib_clangdeps/TestSwiftLateSwiftDylibClangDeps.py", line 5, in <module>
    class TestSwiftLateSwiftDylibClangDeps(TestBase):
  File "/Users/ec2-user/jenkins/workspace/apple-llvm-project-pr-macos/branch-swift/release/6.0/llvm-project/lldb/test/API/lang/swift/late_swift_dylib_clangdeps/TestSwiftLateSwiftDylibClangDeps.py", line 6, in TestSwiftLateSwiftDylibClangDeps
    @skipIf(macos=["<", "13.0"])
TypeError: skipIf() got an unexpected keyword argument 'macos'

I think this should be macos_version?

adrian-prantl commented 1 month ago

@swift-ci test

adrian-prantl commented 1 month ago

@swift-ci test windows