[compiler-rt] [sanitizer] actually run preadv2 test (PR #133529)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 28 15:29:58 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: Florian Mayer (fmayer)
<details>
<summary>Changes</summary>
it seems the %run was accidentally omitted, otherwise the `assert` calls
would not make sense
---
Full diff: https://github.com/llvm/llvm-project/pull/133529.diff
1 Files Affected:
- (modified) compiler-rt/test/sanitizer_common/TestCases/Linux/preadv2.cpp (+1-1)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/133529
More information about the llvm-commits
mailing list