summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/xray/TestCases/Linux
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/xray/TestCases/Linux')
-rw-r--r--compiler-rt/test/xray/TestCases/Linux/argv0-log-file-name.cc2
-rw-r--r--compiler-rt/test/xray/TestCases/Linux/fixedsize-logging.cc2
-rw-r--r--compiler-rt/test/xray/TestCases/Linux/optional-inmemory-log.cc2
-rw-r--r--compiler-rt/test/xray/TestCases/Linux/pic_test.cc2
4 files changed, 4 insertions, 4 deletions
diff --git a/compiler-rt/test/xray/TestCases/Linux/argv0-log-file-name.cc b/compiler-rt/test/xray/TestCases/Linux/argv0-log-file-name.cc
index 1765ce9b5ba..2960c57181e 100644
--- a/compiler-rt/test/xray/TestCases/Linux/argv0-log-file-name.cc
+++ b/compiler-rt/test/xray/TestCases/Linux/argv0-log-file-name.cc
@@ -2,7 +2,7 @@
// name.
// RUN: %clangxx_xray -std=c++11 %s -o %t
-// RUN: %run %t > xray.log.file.name 2>&1
+// RUN: XRAY_OPTIONS="patch_premain=true xray_naive_log=true" %run %t > xray.log.file.name 2>&1
// RUN: ls | FileCheck xray.log.file.name
// RUN: rm xray-log.* xray.log.file.name
diff --git a/compiler-rt/test/xray/TestCases/Linux/fixedsize-logging.cc b/compiler-rt/test/xray/TestCases/Linux/fixedsize-logging.cc
index 90e766876c5..eb32afe93d1 100644
--- a/compiler-rt/test/xray/TestCases/Linux/fixedsize-logging.cc
+++ b/compiler-rt/test/xray/TestCases/Linux/fixedsize-logging.cc
@@ -1,7 +1,7 @@
// Check to make sure that we have a log file with a fixed-size.
// RUN: %clangxx_xray -std=c++11 %s -o %t
-// RUN: XRAY_OPTIONS="verbosity=1 xray_logfile_base=fixedsize-logging-" %run %t 2>&1 | FileCheck %s
+// RUN: XRAY_OPTIONS="patch_premain=true xray_naive_log=true verbosity=1 xray_logfile_base=fixedsize-logging-" %run %t 2>&1 | FileCheck %s
//
// After all that, clean up the output xray log.
//
diff --git a/compiler-rt/test/xray/TestCases/Linux/optional-inmemory-log.cc b/compiler-rt/test/xray/TestCases/Linux/optional-inmemory-log.cc
index ef2c43f3be7..f459d5ab813 100644
--- a/compiler-rt/test/xray/TestCases/Linux/optional-inmemory-log.cc
+++ b/compiler-rt/test/xray/TestCases/Linux/optional-inmemory-log.cc
@@ -2,7 +2,7 @@
// we turn it off via options.
// RUN: %clangxx_xray -std=c++11 %s -o %t
-// RUN: XRAY_OPTIONS="verbosity=1 xray_naive_log=false xray_logfile_base=optional-inmemory-log.xray-" %run %t 2>&1 | FileCheck %s
+// RUN: XRAY_OPTIONS="patch_premain=true verbosity=1 xray_naive_log=false xray_logfile_base=optional-inmemory-log.xray-" %run %t 2>&1 | FileCheck %s
//
// Make sure we clean out the logs in case there was a bug.
//
diff --git a/compiler-rt/test/xray/TestCases/Linux/pic_test.cc b/compiler-rt/test/xray/TestCases/Linux/pic_test.cc
index 004f6da2f43..09c40b9e031 100644
--- a/compiler-rt/test/xray/TestCases/Linux/pic_test.cc
+++ b/compiler-rt/test/xray/TestCases/Linux/pic_test.cc
@@ -1,7 +1,7 @@
// Test to check if we handle pic code properly.
// RUN: %clangxx_xray -fxray-instrument -std=c++11 -fpic %s -o %t
-// RUN: XRAY_OPTIONS="verbosity=1 xray_logfile_base=pic-test-logging-" %run %t 2>&1 | FileCheck %s
+// RUN: XRAY_OPTIONS="patch_premain=true verbosity=1 xray_logfile_base=pic-test-logging-" %run %t 2>&1 | FileCheck %s
// After all that, clean up the output xray log.
//
// RUN: rm pic-test-logging-*
OpenPOWER on IntegriCloud