236
|
1 REQUIRES: system-windows, msvc
|
|
2
|
|
3 RUN: %build -n --verbose --arch=32 --compiler=msvc --mode=compile-and-link -o %t/foo.exe foobar.c \
|
|
4 RUN: | FileCheck --check-prefix=32BIT %s
|
|
5
|
|
6 RUN: %build -n --verbose --arch=64 --compiler=msvc --mode=compile-and-link -o %t/foo.exe foobar.c \
|
|
7 RUN: | FileCheck --check-prefix=64BIT %s
|
|
8
|
|
9 32BIT: Script Arguments:
|
|
10 32BIT: Arch: 32
|
|
11 32BIT: Compiler: msvc
|
|
12 32BIT: Outdir: {{.*}}
|
|
13 32BIT: Output: {{.*}}toolchain-msvc.test.tmp\foo.exe
|
|
14 32BIT: Nodefaultlib: False
|
|
15 32BIT: Opt: none
|
|
16 32BIT: Mode: compile
|
|
17 32BIT: Clean: True
|
|
18 32BIT: Verbose: True
|
|
19 32BIT: Dryrun: True
|
|
20 32BIT: Inputs: foobar.c
|
|
21 32BIT: Cleaning {{.*}}toolchain-msvc.test.tmp\foobar.ilk
|
|
22 32BIT: Cleaning {{.*}}toolchain-msvc.test.tmp\foo.exe-foobar.obj
|
|
23 32BIT: Cleaning {{.*}}toolchain-msvc.test.tmp\foo.pdb
|
|
24 32BIT: Cleaning {{.*}}toolchain-msvc.test.tmp\foo.exe
|
|
25 32BIT: compiling foobar.c -> foo.exe-foobar.obj
|
|
26 32BIT: Command Line: {{.*}}\{{[Hh]ost[Xx](64|86)}}\{{(x86|arm)}}\cl.{{EXE|exe}}
|
|
27 32BIT: linking foo.exe-foobar.obj -> foo.exe
|
|
28 32BIT: Command Line: {{.*}}\{{[Hh]ost[Xx](64|86)}}\{{(x86|arm)}}\link.{{EXE|exe}}
|
|
29 32BIT: Env
|
|
30 32BIT: LIB = {{.*}}\ATLMFC\lib\{{(x86|arm)}}
|
|
31 32BIT: {{.*}}\lib\{{(x86|arm)}}
|
|
32 32BIT: {{.*}}\ucrt\{{(x86|arm)}}
|
|
33 32BIT: {{.*}}\um\{{(x86|arm)}}
|
|
34 32BIT: PATH = {{.*}}\bin\{{[Hh]ost[Xx](64|86)}}\{{(x86|x64)}}
|
|
35
|
|
36
|
|
37 64BIT: Script Arguments:
|
|
38 64BIT: Arch: 64
|
|
39 64BIT: Compiler: msvc
|
|
40 64BIT: Outdir: {{.*}}
|
|
41 64BIT: Output: {{.*}}toolchain-msvc.test.tmp\foo.exe
|
|
42 64BIT: Nodefaultlib: False
|
|
43 64BIT: Opt: none
|
|
44 64BIT: Mode: compile
|
|
45 64BIT: Clean: True
|
|
46 64BIT: Verbose: True
|
|
47 64BIT: Dryrun: True
|
|
48 64BIT: Inputs: foobar.c
|
|
49 64BIT: Cleaning {{.*}}toolchain-msvc.test.tmp\foobar.ilk
|
|
50 64BIT: Cleaning {{.*}}toolchain-msvc.test.tmp\foo.exe-foobar.obj
|
|
51 64BIT: Cleaning {{.*}}toolchain-msvc.test.tmp\foo.pdb
|
|
52 64BIT: Cleaning {{.*}}toolchain-msvc.test.tmp\foo.exe
|
|
53 64BIT: compiling foobar.c -> foo.exe-foobar.obj
|
|
54 64BIT: Command Line: {{.*}}\{{[Hh]ost[Xx](64|86)}}\{{(x64|arm64)}}\cl.{{EXE|exe}}
|
|
55 64BIT: linking foo.exe-foobar.obj -> foo.exe
|
|
56 64BIT: Command Line: {{.*}}\{{[Hh]ost[Xx](64|86)}}\{{(x64|arm64)}}\link.{{EXE|exe}}
|
|
57 64BIT: Env
|
|
58 64BIT: LIB = {{.*}}\ATLMFC\lib\{{(x64|arm64)}}
|
|
59 64BIT: {{.*}}\lib\{{(x64|arm64)}}
|
|
60 64BIT: {{.*}}\ucrt\{{(x64|arm64)}}
|
|
61 64BIT: {{.*}}\um\{{(x64|arm64)}}
|
|
62 64BIT: PATH = {{.*}}\bin\{{[Hh]ost[Xx](64|86)}}\{{(x86|x64)}}
|