diff options
author | Sumanth Gundapaneni <sgundapa@codeaurora.org> | 2015-12-01 23:03:08 +0000 |
---|---|---|
committer | Sumanth Gundapaneni <sgundapa@codeaurora.org> | 2015-12-01 23:03:08 +0000 |
commit | b32a22eab79ed35cdea7df5cb9b478a2fd96f5ee (patch) | |
tree | 6b89cb58518cca97dc77be86965076aaf17840e8 | |
parent | 6d2c313b4621345e2a5455f694cda88f4af935c5 (diff) | |
download | bcm5719-llvm-b32a22eab79ed35cdea7df5cb9b478a2fd96f5ee.tar.gz bcm5719-llvm-b32a22eab79ed35cdea7df5cb9b478a2fd96f5ee.zip |
Fix the RUN on UBSAN unit tests
For the build set up which runs the unit tests using an emulator like QEMU,
the unit tests must be run using %run.
Differential Revision: http://reviews.llvm.org/D15081
llvm-svn: 254467
-rw-r--r-- | compiler-rt/test/ubsan/TestCases/Integer/summary.cpp | 2 | ||||
-rw-r--r-- | compiler-rt/test/ubsan/TestCases/Misc/Linux/ubsan_options.cc | 2 |
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 |