1 RUN: %build -n --verbose --arch=32 --mode=compile --compiler=any -o %t/foo.out foobar.c \
\r
2 RUN: | FileCheck --check-prefix=COMPILE %s
\r
4 RUN: %build -n --verbose --arch=32 --mode=compile --compiler=any --outdir %t foo.c bar.c \
\r
5 RUN: | FileCheck --check-prefix=COMPILE-MULTI %s
\r
7 RUN: %build -n --verbose --arch=32 --mode=link --compiler=any -o %t/foo.exe foobar.obj \
\r
8 RUN: | FileCheck --check-prefix=LINK %s
\r
10 RUN: %build -n --verbose --arch=32 --mode=link --compiler=any -o %t/foobar.exe foo.obj bar.obj \
\r
11 RUN: | FileCheck --check-prefix=LINK-MULTI %s
\r
13 RUN: %build -n --verbose --arch=32 --mode=compile-and-link --compiler=any -o %t/foobar.exe foobar.c \
\r
14 RUN: | FileCheck --check-prefix=BOTH %s
\r
16 RUN: %build -n --verbose --arch=32 --mode=compile-and-link --compiler=any -o %t/foobar.exe foo.c bar.c \
\r
17 RUN: | FileCheck --check-prefix=BOTH-MULTI %s
\r
20 COMPILE: compiling foobar.c -> foo.out
\r
22 COMPILE-MULTI: compiling foo.c -> foo.o{{(bj)?}}
\r
23 COMPILE-MULTI: compiling bar.c -> bar.o{{(bj)?}}
\r
26 LINK: linking foobar.obj -> foo.exe
\r
28 LINK-MULTI: linking foo.obj+bar.obj -> foobar.exe
\r
30 BOTH: compiling foobar.c -> [[OBJFOO:foobar.exe-foobar.o(bj)?]]
\r
31 BOTH: linking [[OBJFOO]] -> foobar.exe
\r
33 BOTH-MULTI: compiling foo.c -> [[OBJFOO:foobar.exe-foo.o(bj)?]]
\r
34 BOTH-MULTI: compiling bar.c -> [[OBJBAR:foobar.exe-bar.o(bj)?]]
\r
35 BOTH-MULTI: linking [[OBJFOO]]+[[OBJBAR]] -> foobar.exe
\r