Skip to content

Commit eb41d98

Browse files
committed
[lldb][CI] Disable failing tests on linux
This commit adds skipIfs in order to disable tests that are failing on the Green Dragon CI Ubuntu bots. rdar://145000025
1 parent 2e61399 commit eb41d98

File tree

6 files changed

+11
-1
lines changed

6 files changed

+11
-1
lines changed

lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/TestDbgInfoContentDequeFromStdModule.py

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class TestDbgInfoContentDeque(TestBase):
1111
@add_test_categories(["libc++"])
1212
@skipIf(compiler=no_match("clang"))
1313
@skipIf(compiler="clang", compiler_version=["<", "12.0"])
14+
@skipIf(oslist=["linux"])
1415
@skipIf(setting=('plugin.typesystem.clang.experimental-redecl-completion', 'true'))
1516
def test(self):
1617
self.build()

lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
class TestDbgInfoContentList(TestBase):
1212
@add_test_categories(["libc++"])
1313
@skipIf(compiler=no_match("clang"))
14-
@skipIf(compiler="clang", compiler_version=["<", "12.0"])
14+
@skipIf(compiler="clang", compiler_version=["<", "12.0"], oslist=["linux"])
1515
@skipIf(macos_version=["<", "14.0"])
1616
@skipIf(setting=('plugin.typesystem.clang.experimental-redecl-completion', 'true'))
1717
def test(self):

lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ class TestDbgInfoContentVector(TestBase):
1212
@add_test_categories(["libc++"])
1313
@skipIf(compiler=no_match("clang"))
1414
@skipIf(compiler="clang", compiler_version=["<", "12.0"])
15+
@skipIf(oslist=["linux"])
1516
@skipIf(macos_version=["<", "14.0"])
1617
@skipIf(setting=('plugin.typesystem.clang.experimental-redecl-completion', 'true'))
1718
def test(self):

lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/chrono/TestDataFormatterLibcxxChrono.py

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
class LibcxxChronoDataFormatterTestCase(TestBase):
1313
@add_test_categories(["libc++"])
14+
@skipIf(oslist=["linux"])
1415
def test_with_run_command(self):
1516
"""Test that that file and class static variables display correctly."""
1617
self.build()

lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/ranges/ref_view/TestDataFormatterLibcxxRangesRefView.py

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def check_foo(self):
3030
@add_test_categories(["libc++"])
3131
@skipIf(compiler=no_match("clang"))
3232
@skipIf(compiler="clang", compiler_version=["<", "16.0"])
33+
@skipIf(oslist=["linux"])
3334
def test_with_run_command(self):
3435
"""Test that std::ranges::ref_view is formatted correctly when printed."""
3536
self.build()

lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py

+6
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,21 @@ def build_and_run(self, test_file):
4545
return True
4646

4747
@skipIf(compiler="clang", compiler_version=["<", "9.0"])
48+
@skipIf(oslist=["linux"])
4849
def test_regcall(self):
4950
if not self.build_and_run("regcall.c"):
5051
return
5152
self.expect_expr("func(1, 2, 3, 4)", result_type="int", result_value="10")
5253

5354
@skipIf(compiler="clang", compiler_version=["<", "9.0"])
55+
@skipIf(oslist=["linux"])
5456
def test_ms_abi(self):
5557
if not self.build_and_run("ms_abi.c"):
5658
return
5759
self.expect_expr("func(1, 2, 3, 4)", result_type="int", result_value="10")
5860

5961
@skipIf(compiler="clang", compiler_version=["<", "9.0"])
62+
@skipIf(oslist=["linux"])
6063
def test_stdcall(self):
6164
if not self.build_and_run("stdcall.c"):
6265
return
@@ -71,17 +74,20 @@ def test_vectorcall(self):
7174
self.expect_expr("func(1.0)", result_type="int", result_value="1")
7275

7376
@skipIf(compiler="clang", compiler_version=["<", "9.0"])
77+
@skipIf(oslist=["linux"])
7478
def test_fastcall(self):
7579
if not self.build_and_run("fastcall.c"):
7680
return
7781
self.expect_expr("func(1, 2, 3, 4)", result_type="int", result_value="10")
7882

7983
@skipIf(compiler="clang", compiler_version=["<", "9.0"])
84+
@skipIf(oslist=["linux"])
8085
def test_pascal(self):
8186
if not self.build_and_run("pascal.c"):
8287
return
8388
self.expect_expr("func(1, 2, 3, 4)", result_type="int", result_value="10")
8489

90+
@skipIf(oslist=["linux"])
8591
def test_sysv_abi(self):
8692
if not self.build_and_run("sysv_abi.c"):
8793
return

0 commit comments

Comments
 (0)