[compiler-rt] r341298 - [UBSan] Add missing `%run` prefixes to Pointer tests.

Dan Liew via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 3 01:33:24 PDT 2018


Author: delcypher
Date: Mon Sep  3 01:33:24 2018
New Revision: 341298

URL: http://llvm.org/viewvc/llvm-project?rev=341298&view=rev
Log:
[UBSan] Add missing `%run` prefixes to Pointer tests.

Summary: rdar://problem/41126835

Reviewers: vsk, kubamracek

Subscribers: #sanitizers, llvm-commits

Differential Revision: https://reviews.llvm.org/D51271

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

Modified: compiler-rt/trunk/test/ubsan/TestCases/Pointer/index-overflow.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/ubsan/TestCases/Pointer/index-overflow.cpp?rev=341298&r1=341297&r2=341298&view=diff
==============================================================================
--- compiler-rt/trunk/test/ubsan/TestCases/Pointer/index-overflow.cpp (original)
+++ compiler-rt/trunk/test/ubsan/TestCases/Pointer/index-overflow.cpp Mon Sep  3 01:33:24 2018
@@ -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>

Modified: compiler-rt/trunk/test/ubsan/TestCases/Pointer/unsigned-index-expression.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/ubsan/TestCases/Pointer/unsigned-index-expression.cpp?rev=341298&r1=341297&r2=341298&view=diff
==============================================================================
--- compiler-rt/trunk/test/ubsan/TestCases/Pointer/unsigned-index-expression.cpp (original)
+++ compiler-rt/trunk/test/ubsan/TestCases/Pointer/unsigned-index-expression.cpp Mon Sep  3 01:33:24 2018
@@ -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;




More information about the llvm-commits mailing list