Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR for llvm/llvm-project#69430 #739

Merged
merged 1 commit into from
Oct 24, 2023
Merged

Conversation

llvmbot
Copy link
Member

@llvmbot llvmbot commented Oct 18, 2023

…ests (#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.

(cherry picked from commit 122064a6303eb9c06e0af231f5a4ce145d9a2e67)
@mstorsjo
Copy link
Member

@tru - The backport version check seems to fail due to a version expectation mismatch between 17.0.3 and 17.0.4 - does the release/17.x branch need a bump to 17.0.4 for the backports to run smoothly again?

@tru
Copy link
Contributor

tru commented Oct 18, 2023

Yeah that's known. But it also doesn't run the tests since nothing has changed in the directories we monitor. As it is right now we don't do any PR testing on files in libc++ - unsure why @tstellar @ldionne

@mstorsjo
Copy link
Member

Yeah that's known. But it also doesn't run the tests since nothing has changed in the directories we monitor.

Ok, then I guess it's only up to @ldionne to ack the backport (and he suggested he was ok with it in llvm/llvm-project#68214 (comment)).

@tru
Copy link
Contributor

tru commented Oct 23, 2023

ping @ldionne

@ldionne
Copy link
Member

ldionne commented Oct 24, 2023

Sorry for missing the first pings, yes I am fine with this.

@tru tru merged commit aa03fba into release/17.x Oct 24, 2023
@tru tru deleted the mstorsjo-libcxx-large-tests-17.x branch October 24, 2023 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Backport "[libcxx] [test] Add a test parameter for disabling memory intensive tests" to 17.x
4 participants