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
This commit is contained in:
Sumanth Gundapaneni 2015-12-01 23:03:08 +00:00
parent 6d2c313b46
commit b32a22eab7
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
// RUN: %clangxx -fsanitize=integer %s -o %t // 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 // RUN: %env_ubsan_opts=report_error_type=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-TYPE
// REQUIRES: ubsan-asan // REQUIRES: ubsan-asan

View File

@ -1,5 +1,5 @@
// RUN: %clangxx -fsanitize=integer -fsanitize-recover=integer %s -o %t // 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. // __ubsan_default_options() doesn't work on Darwin.
// XFAIL: darwin // XFAIL: darwin