diff options
Diffstat (limited to 'lldb/test/Shell/BuildScript/compiler-full-path.test')
-rw-r--r-- | lldb/test/Shell/BuildScript/compiler-full-path.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lldb/test/Shell/BuildScript/compiler-full-path.test b/lldb/test/Shell/BuildScript/compiler-full-path.test new file mode 100644 index 00000000000..592024e690e --- /dev/null +++ b/lldb/test/Shell/BuildScript/compiler-full-path.test @@ -0,0 +1,11 @@ +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 |