Skip to content

Commit 53da675

Browse files
authored
Merge pull request #67606 from drexin/wip-fix-ls-objc-test
[Test] Fix FileCheck comments in test/Interpreter/layout_string_witne…
2 parents 58a8a2a + fb11b50 commit 53da675

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/Interpreter/layout_string_witnesses_objc.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// RUN: %target-build-swift-dylib(%t/%target-library-name(layout_string_witnesses_types)) -Xfrontend -enable-experimental-feature -Xfrontend LayoutStringValueWitnesses -Xfrontend -enable-experimental-feature -Xfrontend LayoutStringValueWitnessesInstantiation -Xfrontend -enable-layout-string-value-witnesses -Xfrontend -enable-layout-string-value-witnesses-instantiation -Xfrontend -enable-type-layout -Xfrontend -parse-stdlib -parse-as-library %S/Inputs/layout_string_witnesses_types.swift
66
// RUN: %target-build-swift -g -Xfrontend -enable-experimental-feature -Xfrontend LayoutStringValueWitnesses -Xfrontend -enable-experimental-feature -Xfrontend LayoutStringValueWitnessesInstantiation -Xfrontend -enable-layout-string-value-witnesses -Xfrontend -enable-layout-string-value-witnesses-instantiation -Xfrontend -enable-type-layout -parse-stdlib -module-name layout_string_witnesses_dynamic -llayout_string_witnesses_types -L%t -I %S/Inputs/ObjCClasses/ %t/ObjCClasses.o -I %t -o %t/main %s %target-rpath(%t)
77
// RUN: %target-codesign %t/main
8-
// RUN: %target-run %t/main %t/%target-library-name(layout_string_witnesses_types) | %FileCheck %s --check-prefix=CHECK -check-prefix=CHECK-%target-os
8+
// RUN: %target-run %t/main %t/%target-library-name(layout_string_witnesses_types) | %FileCheck %s --check-prefix=CHECK
99

1010
// REQUIRES: executable_test
1111
// REQUIRES: objc_interop
@@ -25,19 +25,19 @@ func testNestedResilientObjc() {
2525

2626
do {
2727
let y = NestedWrapper<ObjCPrintOnDealloc>(x: .init(x: ObjCPrintOnDealloc()), y: .init(x: ObjCPrintOnDealloc()))
28-
// CHECK-macosx: Before deinit
28+
// CHECK: Before deinit
2929
print("Before deinit")
3030

31-
// CHECK-macosx-NEXT: ObjCPrintOnDealloc deinitialized!
32-
// CHECK-macosx-NEXT: ObjCPrintOnDealloc deinitialized!
31+
// CHECK-NEXT: ObjCPrintOnDealloc deinitialized!
32+
// CHECK-NEXT: ObjCPrintOnDealloc deinitialized!
3333
testGenericAssign(ptr, from: y)
3434
}
3535

36-
// CHECK-macosx-NEXT: Before deinit
36+
// CHECK-NEXT: Before deinit
3737
print("Before deinit")
3838

39-
// CHECK-macosx-NEXT: ObjCPrintOnDealloc deinitialized!
40-
// CHECK-macosx-NEXT: ObjCPrintOnDealloc deinitialized!
39+
// CHECK-NEXT: ObjCPrintOnDealloc deinitialized!
40+
// CHECK-NEXT: ObjCPrintOnDealloc deinitialized!
4141
testGenericDestroy(ptr, of: NestedWrapper<ObjCPrintOnDealloc>.self)
4242

4343
ptr.deallocate()

0 commit comments

Comments
 (0)