llvm-project/lldb/test/Shell/BuildScript/compiler-full-path.test
Jonas Devlieghere 87aa9c9e4d Re-land "[test] Split LLDB tests into API, Shell & Unit"
The original patch got reverted because it broke `check-lldb` on a clean
build. This fixes that.

llvm-svn: 374201
2019-10-09 19:22:02 +00:00

12 lines
435 B
Plaintext

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
CHECK-MSVC: Command Line: /path/to/my/x64/cl.exe
CHECK-SAME: /Fo