[libcxx-commits] [libcxx] 30e517c - [libcxx][test] Fix a test for the range of file offsets on ARMv7 Linux targets. (#123449)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Jan 18 18:28:46 PST 2025
Author: Vladimir Vereschaka
Date: 2025-01-18T18:28:41-08:00
New Revision: 30e517c0c70be42686ec10c2960813302f2a9654
URL: https://github.com/llvm/llvm-project/commit/30e517c0c70be42686ec10c2960813302f2a9654
DIFF: https://github.com/llvm/llvm-project/commit/30e517c0c70be42686ec10c2960813302f2a9654.diff
LOG: [libcxx][test] Fix a test for the range of file offsets on ARMv7 Linux targets. (#123449)
Mark the `offset_range` test as UNSUPPORTED for the
`armv7-unknown-linux-gnueabihf` target (32-bit).
Ref PR #122798
Added:
Modified:
libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/offset_range.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/offset_range.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/offset_range.pass.cpp
index 5afd4465db31e0..6ffe750564c2c9 100644
--- a/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/offset_range.pass.cpp
+++ b/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/offset_range.pass.cpp
@@ -28,6 +28,11 @@
//
// XFAIL: target=powerpc-{{.+}}-aix{{.*}}
+// By default, off_t is typically a 32-bit integer on ARMv7 Linux systems,
+// meaning it can represent file sizes up to 2GB (2^31 bytes) only.
+//
+// UNSUPPORTED: target=armv7-unknown-linux-gnueabihf
+
#include <fstream>
#include <iostream>
#include <cassert>
More information about the libcxx-commits
mailing list