• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1RUN: %build -n --verbose --arch=32 --mode=compile --compiler=any -o %t/foo.out foobar.c \
2RUN:    | FileCheck %s
3RUN: %build -n --verbose --arch=32 --mode=compile --compiler=any --outdir %t foo.c bar.c \
4RUN:    | FileCheck --check-prefix=MULTI-INPUT %s
5
6
7CHECK:      Script Arguments:
8CHECK-NEXT:   Arch: 32
9CHECK:        Compiler: any
10CHECK:        Outdir: {{.*}}script-args.test.tmp
11CHECK:        Output: {{.*}}script-args.test.tmp{{.}}foo.out
12CHECK:        Nodefaultlib: False
13CHECK:        Opt: none
14CHECK:        Mode: compile
15CHECK:        Clean: True
16CHECK:        Verbose: True
17CHECK:        Dryrun: True
18CHECK:        Inputs: foobar.c
19
20MULTI-INPUT:      Script Arguments:
21MULTI-INPUT-NEXT:   Arch: 32
22MULTI-INPUT-NEXT:   Compiler: any
23MULTI-INPUT-NEXT:   Outdir: {{.*}}script-args.test.tmp
24MULTI-INPUT-NEXT:   Output:
25MULTI-INPUT-NEXT:   Nodefaultlib: False
26MULTI-INPUT-NEXT:   Opt: none
27MULTI-INPUT-NEXT:   Mode: compile
28MULTI-INPUT-NEXT:   Clean: True
29MULTI-INPUT-NEXT:   Verbose: True
30MULTI-INPUT-NEXT:   Dryrun: True
31MULTI-INPUT-NEXT:   Inputs: foo.c
32MULTI-INPUT-NEXT:           bar.c
33