From 9de9b5e950761cfeac936af9e9e9b2182bb1fffb Mon Sep 17 00:00:00 2001 From: Michal Gorny Date: Wed, 15 May 2019 10:48:55 +0000 Subject: [PATCH] [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 --- lldb/lit/BuildScript/compiler-full-path.test | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lldb/lit/BuildScript/compiler-full-path.test b/lldb/lit/BuildScript/compiler-full-path.test index f8906d9..592024e 100644 --- a/lldb/lit/BuildScript/compiler-full-path.test +++ b/lldb/lit/BuildScript/compiler-full-path.test @@ -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 -- 2.7.4