[lldb] [lit] Pass --mode=compile to fix compiler-full-path.test

Pass '--mode=compile' to fix compiler-full-path.test failure on NetBSD
buildbot (apparently due to lack of 'link' executable).

Fixes r360355.  Acked by Pavel Labath.

llvm-svn: 360761
This commit is contained in:
Michal Gorny 2019-05-15 10:48:55 +00:00
parent 5ac6d49065
commit 9de9b5e950
1 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,8 @@
RUN: %build -n --verbose --arch=64 --compiler=/path/to/my/clang -o foo \
RUN: foobar.c | FileCheck %s --check-prefix=CHECK-CLANG
RUN: %build -n --verbose --arch=64 --compiler=/path/to/my/x64/cl.exe -o foo \
RUN: foobar.c | FileCheck %s --check-prefix=CHECK-MSVC
RUN: %build -n --mode=compile --verbose --arch=64 --compiler=/path/to/my/clang \
RUN: -o foo foobar.c | FileCheck %s --check-prefix=CHECK-CLANG
RUN: %build -n --mode=compile --verbose --arch=64 \
RUN: --compiler=/path/to/my/x64/cl.exe -o foo foobar.c | \
RUN: FileCheck %s --check-prefix=CHECK-MSVC
CHECK-CLANG: Command Line: /path/to/my/clang
CHECK-SAME: -o