mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Clang 8 or 9 seems to have changed from EXE to exe. Allow both capitalizations (which is not important in Windows) as a workaround. Maybe in the future we can remove the uppercase option.
8 lines
516 B
Swift
8 lines
516 B
Swift
// RUN: %swiftc_driver -driver-print-jobs -target x86_64-unknown-linux-gnu -g %s | %FileCheck %s
|
|
|
|
// CHECK: bin{{/|\\\\}}swift{{c?(\.exe)?"?}} -frontend{{.*}}-emit-module-path [[MOD:.*\.swiftmodule]]
|
|
// CHECK: bin{{/|\\\\}}swift{{c?(\.exe)?"?}} {{.*}}-emit-module [[MOD]]
|
|
// CHECK-SAME: -o [[MERGED:.*\.swiftmodule]]
|
|
// CHECK: bin{{/|\\\\}}swift{{c?(\.exe)?"?}} -modulewrap [[MERGED]]{{"?}} -target x86_64-unknown-linux-gnu -o [[OBJ:.*\.o]]
|
|
// CHECK: bin{{/|\\\\}}clang{{.*}} [[OBJ]]
|