[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.

llvm-svn: 314193

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

index 19e526a..0278e0e 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
 //