[compiler-rt] 1e00bb1 - [sanitizer] actually run preadv2 test (#133529)

via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 28 16:31:41 PDT 2025


Author: Florian Mayer
Date: 2025-03-28T16:31:38-07:00
New Revision: 1e00bb16f488492198df692ae2e2abc405a138f3

URL: https://github.com/llvm/llvm-project/commit/1e00bb16f488492198df692ae2e2abc405a138f3
DIFF: https://github.com/llvm/llvm-project/commit/1e00bb16f488492198df692ae2e2abc405a138f3.diff

LOG: [sanitizer] actually run preadv2 test (#133529)

it seems the %run was accidentally omitted, otherwise the `assert` calls
would not make sense

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/TestCases/Linux/preadv2.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/preadv2.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/preadv2.cpp
index 4ec6f9f69078a..11760d3c1bb42 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/preadv2.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/preadv2.cpp
@@ -1,4 +1,4 @@
-// RUN: %clangxx -O0 %s -o %t
+// RUN: %clangxx -O0 %s -o %t && %run %t
 
 // REQUIRES: glibc
 


        


More information about the llvm-commits mailing list