Author: dberris Date: Mon Sep 25 21:29:25 2017 New Revision: 314194 URL: http://llvm.org/viewvc/llvm-project?rev=314194&view=rev Log: [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. Modified: cfe/trunk/test/Driver/XRay/xray-shared-noxray.cpp Modified: cfe/trunk/test/Driver/XRay/xray-shared-noxray.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/XRay/xray-shared-noxray.cpp?rev=314194&r1=314193&r2=314194&view=diff ============================================================================== --- cfe/trunk/test/Driver/XRay/xray-shared-noxray.cpp (original) +++ cfe/trunk/test/Driver/XRay/xray-shared-noxray.cpp Mon Sep 25 21:29:25 2017 @@ -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-}} _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits