Skip to content

Commit 2c2c1b8

Browse files
committed
Use %target-swiftc_driver in objc_class_properties_runtime.swift
This way we will compile the test program with `-Xlinker -headerpad_max_install_names`, which will allow `swift-darwin-postprocess.py` to amend the install names without errors. Addresses rdar://119907089
1 parent 234e61b commit 2c2c1b8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/Interpreter/objc_class_properties_runtime.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22

33
// RUN: %clang -arch %target-cpu -target %target-cpu-apple-macosx10.11 -isysroot %sdk -fobjc-arc %S/Inputs/ObjCClasses/ObjCClasses.m -c -o %t/ObjCClasses.o
44

5-
// RUN: %swiftc_driver -target $(echo '%target-triple' | sed -E -e 's/macosx10.(9|10).*/macosx10.11/') -sdk %sdk -I %S/Inputs/ObjCClasses/ %t/ObjCClasses.o %s -o %t/a.out
5+
// RUN: %target-swiftc_driver -target $(echo '%target-triple' | sed -E -e 's/macosx10.(9|10).*/macosx10.11/') -sdk %sdk -I %S/Inputs/ObjCClasses/ %t/ObjCClasses.o %s -o %t/a.out
66
// RUN: %target-codesign %t/a.out
77
// RUN: %target-run %t/a.out
88

99
// REQUIRES: OS=macosx
1010
// REQUIRES: executable_test
1111
// REQUIRES: objc_interop
1212

13-
// REQUIRES: rdar119907089
14-
1513
import Foundation
1614
import StdlibUnittest
1715
import ObjCClasses

0 commit comments

Comments
 (0)