From 4df21e70e6e28a99f222dd92546f04fbd0a49ecf Mon Sep 17 00:00:00 2001 From: Dean Michael Berris Date: Tue, 26 Sep 2017 04:29:25 +0000 Subject: [PATCH] [XRay] Avoid actual linking when testing the driver Use -### in the command to see just look for the output of -v. Follow-up to D38226. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314194 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Driver/XRay/xray-shared-noxray.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/Driver/XRay/xray-shared-noxray.cpp b/test/Driver/XRay/xray-shared-noxray.cpp index 0278e0e2ae..c279f93f3f 100644 --- a/test/Driver/XRay/xray-shared-noxray.cpp +++ b/test/Driver/XRay/xray-shared-noxray.cpp @@ -1,9 +1,9 @@ -// RUN: %clangxx -shared -o /dev/null -v -fxray-instrument %s -// RUN: %clangxx -shared -o /dev/null -v -fxray-instrument %s 2>&1 | \ +// RUN: %clangxx -shared -o /dev/null -v -fxray-instrument %s -### +// RUN: %clangxx -shared -o /dev/null -v -fxray-instrument %s -### 2>&1 | \ // RUN: FileCheck %s --check-prefix=SHARED -// RUN: %clangxx -static -o /dev/null -v -fxray-instrument %s -DMAIN -// RUN: %clangxx -static -o /dev/null -v -fxray-instrument %s 2>&1 -DMAIN | \ -// RUN: FileCheck %s --check-prefix=STATIC +// RUN: %clangxx -static -o /dev/null -v -fxray-instrument %s -### -DMAIN +// RUN: %clangxx -static -o /dev/null -v -fxray-instrument %s -### 2>&1 -DMAIN \ +// RUN: | FileCheck %s --check-prefix=STATIC // // SHARED-NOT: {{clang_rt\.xray-}} // STATIC: {{clang_rt\.xray-}} -- 2.49.0