Skip to content

Commit 2caed4a

Browse files
authored
Merge pull request swiftlang#9726 from hamishknight/disable-tests
[test] Disable a couple of BoundsSafety tests
2 parents 85fcfba + b6ed89e commit 2caed4a

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

lldb/test/API/lang/BoundsSafety/array_of_ptrs/TestArrayOfBoundsSafetyPointers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,12 @@ def __run(self, build_dict):
3737
self.expect("expr array_of_bounds_safety_pointers[1]", patterns = [zero_init_pattern])
3838
self.expect("frame variable array_of_bounds_safety_pointers[1]", patterns = [zero_init_pattern])
3939

40+
@skipIf(bugnumber="rdar://141363609")
4041
def test_optimized(self):
4142
build_dict=dict(CFLAGS_EXTRAS="-O2 -Xclang -fbounds-safety")
4243
self.__run(build_dict)
4344

45+
@skipIf(bugnumber="rdar://141363609")
4446
def test_unoptimized(self):
4547
build_dict=dict(CFLAGS_EXTRAS="-Xclang -fbounds-safety")
4648
self.__run(build_dict)

lldb/test/API/lang/BoundsSafety/out_of_bounds_pointer/TestOutOfBoundsPointer.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def setUp(self):
8585
if _get_bool_config("ios_disclosed", fail_value=False):
8686
self.build()
8787

88+
@skipIf(bugnumber="rdar://141363609")
8889
def test_bidi_known_type_size(self):
8990
(_, self.process, _, bkpt) = lldbutil.run_to_source_breakpoint(
9091
self, r"// break here:.+", lldb.SBFileSpec("bidi_check_known_type_size.c")
@@ -153,6 +154,7 @@ def test_bidi_known_type_size(self):
153154
lldbutil.continue_to_breakpoint(self.process, bkpt)
154155
self.expect("frame variable fams2", patterns=[self.bidi_full_oob("FAMS_t *")])
155156

157+
@skipIf(bugnumber="rdar://141363609")
156158
def test_bidi_unknown_type_size(self):
157159
(_, self.process, _, bkpt) = lldbutil.run_to_source_breakpoint(
158160
self, r"// break here:.+", lldb.SBFileSpec("bidi_check_unknown_type_size.c")
@@ -202,6 +204,7 @@ def test_bidi_unknown_type_size(self):
202204
lldbutil.continue_to_breakpoint(self.process, bkpt)
203205
self.expect("frame variable oob_null", patterns=[self.bidi_full_oob("void *")])
204206

207+
@skipIf(bugnumber="rdar://141363609")
205208
def test_idx_known_type_size(self):
206209
(_, self.process, _, bkpt) = lldbutil.run_to_source_breakpoint(
207210
self, r"// break here:.+", lldb.SBFileSpec("idx_check_known_type_size.c")
@@ -251,6 +254,7 @@ def test_idx_known_type_size(self):
251254
lldbutil.continue_to_breakpoint(self.process, bkpt)
252255
self.expect("frame variable fams2", patterns=[self.full_oob("FAMS_t *")])
253256

257+
@skipIf(bugnumber="rdar://141363609")
254258
def test_idx_unknown_type_size(self):
255259
(_, self.process, _, bkpt) = lldbutil.run_to_source_breakpoint(
256260
self, r"// break here:.+", lldb.SBFileSpec("idx_check_unknown_type_size.c")

lldb/test/Shell/BoundsSafety/boundssafetytrap.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# REQUIRES: rdar141363609
12
# UNSUPPORTED: system-windows
23
# RUN: %clang_host -Xclang -fbounds-safety -g -O0 %S/Inputs/boundsSafetyTrap.c -o %t.out
34
# RUN: %lldb -b -s %s %t.out | FileCheck %s

0 commit comments

Comments
 (0)