summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/test/ubsan/TestCases/Integer/summary.cpp2
-rw-r--r--compiler-rt/test/ubsan/TestCases/Misc/Linux/ubsan_options.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/ubsan/TestCases/Integer/summary.cpp b/compiler-rt/test/ubsan/TestCases/Integer/summary.cpp
index 58432369226..e687afab435 100644
--- a/compiler-rt/test/ubsan/TestCases/Integer/summary.cpp
+++ b/compiler-rt/test/ubsan/TestCases/Integer/summary.cpp
@@ -1,5 +1,5 @@
// RUN: %clangxx -fsanitize=integer %s -o %t
-// RUN: %t 2>&1 | FileCheck %s --check-prefix=CHECK-NOTYPE
+// RUN: %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NOTYPE
// RUN: %env_ubsan_opts=report_error_type=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-TYPE
// REQUIRES: ubsan-asan
diff --git a/compiler-rt/test/ubsan/TestCases/Misc/Linux/ubsan_options.cc b/compiler-rt/test/ubsan/TestCases/Misc/Linux/ubsan_options.cc
index 2be8792cce9..eac4c32a283 100644
--- a/compiler-rt/test/ubsan/TestCases/Misc/Linux/ubsan_options.cc
+++ b/compiler-rt/test/ubsan/TestCases/Misc/Linux/ubsan_options.cc
@@ -1,5 +1,5 @@
// RUN: %clangxx -fsanitize=integer -fsanitize-recover=integer %s -o %t
-// RUN: not %t 2>&1 | FileCheck %s
+// RUN: not %run %t 2>&1 | FileCheck %s
// __ubsan_default_options() doesn't work on Darwin.
// XFAIL: darwin
OpenPOWER on IntegriCloud