[compiler-rt] [sanitizer] actually run preadv2 test (PR #133529)
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 28 15:29:22 PDT 2025
https://github.com/fmayer created https://github.com/llvm/llvm-project/pull/133529
it seems the %run was accidentally omitted, otherwise the `assert` calls
would not make sense
>From b232f8a535141b2dacb89699604aa35a3bd9ac78 Mon Sep 17 00:00:00 2001
From: Florian Mayer <fmayer at google.com>
Date: Fri, 28 Mar 2025 15:29:10 -0700
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=
=?UTF-8?q?l=20version?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Created using spr 1.3.4
---
compiler-rt/test/sanitizer_common/TestCases/Linux/preadv2.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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