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