]> granicus.if.org Git - clang/commitdiff
[XRay] Run command once without piping to FileCheck
authorDean Michael Berris <dberris@google.com>
Tue, 26 Sep 2017 04:17:37 +0000 (04:17 +0000)
committerDean Michael Berris <dberris@google.com>
Tue, 26 Sep 2017 04:17:37 +0000 (04:17 +0000)
This allows us to debug the failures that come up from the build bots.

Follow-up to D38226.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314193 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/XRay/xray-shared-noxray.cpp

index 19e526a7d80a04f1f63a60c68d27d1d538d5c090..0278e0e2ae2f775b16acdf13be6583a715852254 100644 (file)
@@ -1,5 +1,7 @@
+// 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
 //