mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
...and tweak a few remaining things in that file to make it run on Linux again. It's not great that we were losing this coverage!
26 lines
1.3 KiB
Swift
26 lines
1.3 KiB
Swift
// REQUIRES: OS=macosx
|
|
// Note: This is really about the /host/ environment, but since there are RUN
|
|
// lines for multiple targets anyway it doesn't make a huge difference.
|
|
|
|
// RUN: %swiftc_driver -driver-print-jobs -target x86_64-apple-macosx10.9 %S/../Inputs/empty.swift | %FileCheck %s
|
|
|
|
// CHECK: bin/ld{{"? }}
|
|
// CHECK-SAME: -force_load {{[^ ]+/lib/arc/libarclite_macosx.a}} -framework CoreFoundation
|
|
// CHECK-SAME: -o {{[^ ]+}}
|
|
|
|
|
|
// RUN: %swiftc_driver -driver-print-jobs -target x86_64-apple-ios8.0 %S/../Inputs/empty.swift | %FileCheck -check-prefix IOS_ARCLITE %s
|
|
|
|
// RUN: %swiftc_driver -driver-print-jobs -target x86_64-apple-macosx10.11 %S/../Inputs/empty.swift | %FileCheck -check-prefix NO_ARCLITE %s
|
|
// RUN: %swiftc_driver -driver-print-jobs -target x86_64-apple-ios9.0 %S/../Inputs/empty.swift | %FileCheck -check-prefix NO_ARCLITE %s
|
|
// RUN: %swiftc_driver -driver-print-jobs -target arm64-apple-tvos9.0 %S/../Inputs/empty.swift | %FileCheck -check-prefix NO_ARCLITE %s
|
|
// RUN: %swiftc_driver -driver-print-jobs -target armv7k-apple-watchos2.0 %S/../Inputs/empty.swift | %FileCheck -check-prefix NO_ARCLITE %s
|
|
|
|
// IOS_ARCLITE: bin/ld{{"? }}
|
|
// IOS_ARCLITE: -force_load {{[^ ]+/lib/arc/libarclite_iphonesimulator.a}}
|
|
// IOS_ARCLITE: -o {{[^ ]+}}
|
|
|
|
// NO_ARCLITE: bin/ld{{"? }}
|
|
// NO_ARCLITE-NOT: arclite
|
|
// NO_ARCLITE: -o {{[^ ]+}}
|