|
9 | 9 | // EMPTY-NOT: .{{(o|swiftmodule|swiftdoc)}}
|
10 | 10 |
|
11 | 11 | // RUN: rm -rf %t && mkdir -p %t/tmp/ && touch %t/tmp/dummy
|
12 |
| -// RUN: env TMPDIR=%t/tmp/ %target-swiftc_driver -emit-executable %s -o %t/main2 -emit-module-path %t/main2.swiftmodule |
| 12 | +// RUN: env TMPDIR=%t/tmp/ %swiftc_driver -target %target-triple -sdk %sdk -module-cache-path %t -emit-executable %s -o %t/main2 -emit-module-path %t/main2.swiftmodule |
13 | 13 | // RUN: ls %t/main2
|
14 | 14 | // RUN: ls %t/main2.swiftmodule
|
15 | 15 | // RUN: ls %t/tmp | FileCheck -check-prefix=EMPTY %s
|
16 | 16 |
|
17 | 17 | // RUN: rm -rf %t && mkdir -p %t/tmp/ && touch %t/tmp/dummy
|
18 |
| -// RUN: env TMPDIR=%t/tmp/ %target-swiftc_driver -emit-executable %s -o %t/main3 -g |
| 18 | +// RUN: env TMPDIR=%t/tmp/ %swiftc_driver -target %target-triple -sdk %sdk -module-cache-path %t -emit-executable %s -o %t/main3 -g |
19 | 19 | // RUN: ls %t/main3
|
20 | 20 | // RUN: ls %t/tmp | FileCheck -check-prefix=EMPTY %s
|
21 | 21 |
|
22 | 22 | // RUN: rm -rf %t && mkdir -p %t/tmp/ && touch %t/tmp/dummy
|
23 |
| -// RUN: env TMPDIR=%t/tmp/ %target-swiftc_driver -emit-executable %s -o %t/main4 -emit-module-path %t/main4.swiftmodule -g |
| 23 | +// RUN: env TMPDIR=%t/tmp/ %swiftc_driver -target %target-triple -sdk %sdk -module-cache-path %t -emit-executable %s -o %t/main4 -emit-module-path %t/main4.swiftmodule -g |
24 | 24 | // RUN: ls %t/main4
|
25 | 25 | // RUN: ls %t/main4.swiftmodule
|
26 | 26 | // RUN: ls %t | FileCheck -check-prefix=MAIN4-%target-object-format %s
|
|
31 | 31 |
|
32 | 32 | // RUN: rm -rf %t && mkdir -p %t/tmp/ && touch %t/tmp/dummy
|
33 | 33 | // RUN: echo "{\"%s\": {\"object\": \"%t/main5.o\"}}" > %t.json
|
34 |
| -// RUN: env TMPDIR=%t/tmp/ %target-swiftc_driver -emit-executable %s -o %t/main5 -output-file-map %t.json -g |
| 34 | +// RUN: env TMPDIR=%t/tmp/ %swiftc_driver -target %target-triple -sdk %sdk -module-cache-path %t -emit-executable %s -o %t/main5 -output-file-map %t.json -g |
35 | 35 | // RUN: ls %t/main5
|
36 | 36 | // RUN: ls %t/main5.o
|
37 | 37 | // RUN: ls %t | FileCheck -check-prefix=MAIN5-%target-object-format %s
|
|
41 | 41 | // MAIN5-elf-NOT: .dSYM
|
42 | 42 |
|
43 | 43 | // RUN: rm -rf %t && mkdir -p %t/tmp/ && touch %t/tmp/dummy
|
44 |
| -// RUN: env TMPDIR=%t/tmp/ %target-swiftc_driver -emit-executable %s -o %t/main6 -g -save-temps |
| 44 | +// RUN: env TMPDIR=%t/tmp/ %swiftc_driver -target %target-triple -sdk %sdk -module-cache-path %t -emit-executable %s -o %t/main6 -g -save-temps |
45 | 45 | // RUN: ls %t/main6
|
46 | 46 | // RUN: ls %t | FileCheck -check-prefix=MAIN6-%target-object-format %s
|
47 | 47 | // RUN: ls %t/tmp | FileCheck -check-prefix=SAVE-TEMPS %s
|
|
0 commit comments