xref: /llvm-project/lldb/test/Shell/BuildScript/compiler-full-path.test (revision 9c4e93c71a80e9d6d4e9f1e9f90b14a6126e1f47)
1RUN: %build -n --mode=compile --verbose --arch=64 --compiler=/path/to/my/clang \
2RUN:    -o foo foobar.c | FileCheck %s --check-prefix=CHECK-CLANG
3RUN: %build -n --mode=compile --verbose --arch=64 \
4RUN:    --compiler=/path/to/my/x64/cl.exe -o foo foobar.c | \
5RUN:    FileCheck %s --check-prefix=CHECK-MSVC
6
7CHECK-CLANG: Command Line: /path/to/my/clang
8CHECK-SAME: -o
9
10CHECK-MSVC: Command Line: /path/to/my{{(\/|\\)(arm64|x64)(\/|\\)}}cl.exe
11CHECK-SAME: /Fo
12