[PATCH] D51271: [UBSan] Add missing `%run` prefixes to Pointer tests.

Dan Liew via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 3 01:34:38 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL341298: [UBSan] Add missing `%run` prefixes to Pointer tests. (authored by delcypher, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D51271

Files:
  compiler-rt/trunk/test/ubsan/TestCases/Pointer/index-overflow.cpp
  compiler-rt/trunk/test/ubsan/TestCases/Pointer/unsigned-index-expression.cpp


Index: compiler-rt/trunk/test/ubsan/TestCases/Pointer/unsigned-index-expression.cpp
===================================================================
--- compiler-rt/trunk/test/ubsan/TestCases/Pointer/unsigned-index-expression.cpp
+++ compiler-rt/trunk/test/ubsan/TestCases/Pointer/unsigned-index-expression.cpp
@@ -1,5 +1,5 @@
 // RUN: %clangxx -std=c++11 -fsanitize=pointer-overflow %s -o %t
-// RUN: %t 2>&1 | FileCheck %s
+// RUN: %run %t 2>&1 | FileCheck %s
 
 int main(int argc, char *argv[]) {
   char c;
Index: compiler-rt/trunk/test/ubsan/TestCases/Pointer/index-overflow.cpp
===================================================================
--- compiler-rt/trunk/test/ubsan/TestCases/Pointer/index-overflow.cpp
+++ compiler-rt/trunk/test/ubsan/TestCases/Pointer/index-overflow.cpp
@@ -1,7 +1,7 @@
 // RUN: %clangxx -fsanitize=pointer-overflow %s -o %t
-// RUN: %t 1 2>&1 | FileCheck %s --check-prefix=ERR
-// RUN: %t 0 2>&1 | FileCheck %s --check-prefix=SAFE
-// RUN: %t -1 2>&1 | FileCheck %s --check-prefix=SAFE
+// RUN: %run %t 1 2>&1 | FileCheck %s --check-prefix=ERR
+// RUN: %run %t 0 2>&1 | FileCheck %s --check-prefix=SAFE
+// RUN: %run %t -1 2>&1 | FileCheck %s --check-prefix=SAFE
 
 #include <stdio.h>
 #include <stdint.h>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51271.163665.patch
Type: text/x-patch
Size: 1248 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180903/9faafeba/attachment.bin>


More information about the llvm-commits mailing list