[all-commits] [llvm/llvm-project] 122064: [libcxx] [test] Add a test parameter for disabling...
Martin Storsjö via All-commits
all-commits at lists.llvm.org
Tue Oct 17 12:50:06 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 122064a6303eb9c06e0af231f5a4ce145d9a2e67
https://github.com/llvm/llvm-project/commit/122064a6303eb9c06e0af231f5a4ce145d9a2e67
Author: Martin Storsjö <martin at martin.st>
Date: 2023-10-17 (Tue, 17 Oct 2023)
Changed paths:
M libcxx/test/std/input.output/string.streams/stringstream/stringstream.members/gcount.pass.cpp
M libcxx/utils/libcxx/test/params.py
Log Message:
-----------
[libcxx] [test] Add a test parameter for disabling memory intensive tests (#68214)
Specifically, the test std/input.output/string.streams/stringstream/stringstream.members/gcount.pass.cpp
allocates a std::string with INT_MAX-1 elements, and then writes this to
a std::stringstream. On Linux, running this test consumes around 5.0 GB
of memory; on Windows, it ends up using up to 6.8 GB of memory.
This limits whether such tests can run on e.g. GitHub Actions runners,
where the free runners are limited to 8 GB of memory.
This is somewhat similar to, but still notably different, from the
existing test parameter long_tests.
More information about the All-commits
mailing list