forked from OSchip/llvm-project
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:
parent
6d2c313b46
commit
b32a22eab7
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue