[PATCH] D15081: Fix the RUN on UBSAN unit tests

Sumanth Gundapaneni via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 1 15:06:13 PST 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL254467: Fix the RUN on UBSAN unit tests (authored by sgundapa).

Changed prior to commit:
  http://reviews.llvm.org/D15081?vs=41405&id=41567#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D15081

Files:
  compiler-rt/trunk/test/ubsan/TestCases/Integer/summary.cpp
  compiler-rt/trunk/test/ubsan/TestCases/Misc/Linux/ubsan_options.cc

Index: compiler-rt/trunk/test/ubsan/TestCases/Integer/summary.cpp
===================================================================
--- compiler-rt/trunk/test/ubsan/TestCases/Integer/summary.cpp
+++ compiler-rt/trunk/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
 
Index: compiler-rt/trunk/test/ubsan/TestCases/Misc/Linux/ubsan_options.cc
===================================================================
--- compiler-rt/trunk/test/ubsan/TestCases/Misc/Linux/ubsan_options.cc
+++ compiler-rt/trunk/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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15081.41567.patch
Type: text/x-patch
Size: 1097 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151201/227b3036/attachment.bin>


More information about the llvm-commits mailing list