[libcxx-commits] [libcxx] [libcxx] [test] Add a test for the range of file offsets (PR #122798)
Martin Storsjö via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jan 16 01:42:39 PST 2025
mstorsjo wrote:
@kazutakahirata This test seems to fail on the [llvm-clang-win-x-armv7l](https://lab.llvm.org/buildbot/#/builders/38) buildbot, which it seems that you maintain: https://lab.llvm.org/buildbot/#/builders/38/builds/1855
The test fails like this:
```
offset_range.pass.cpp:54: void test_tellg(std::streamoff): Assertion `!ofs.fail()' failed.
```
This probably means that the runner didn't have space to create the 4 GB temporary file used in this test.
We have a libcxx testsuite flag `large_tests`, so one can set up the testsuite to run e.g. like `-DLIBCXX_TEST_PARAMS="large_tests=False"`, which should exclude tests that require a large amount of memory to run. I wonder if we'd need to add a similar flag here? (We have `large_tests` for tests that require a lot of memory, and `long_tests` for tests that take a long time to run - but requiring a lot of space doesn't really fit either of them, even if you'd probably be setting many of these flags in this kind of configuration.)
https://github.com/llvm/llvm-project/pull/122798
More information about the libcxx-commits
mailing list