-
Notifications
You must be signed in to change notification settings - Fork 3k
Skip a few tests if not enough memory can be allocated for them #7465
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
Skip a few tests if not enough memory can be allocated for them #7465
Conversation
@soramame21 Can you test if this fixes #7115? |
@davidsaada I don't think you should have commit e0ca511 in this PR ? Isn't that what #7448 is ? |
@adbridge It'll go away once a rebase is done to this PR. (I've done something similar and it worked out) |
I had passed the test cases related to this fix. please see the log.
|
Thanks @soramame21. Also got report that it solves #7439 |
539ab2a
to
a224ca7
Compare
Rebased. No longer depending on #7448. |
Fixes #6008 |
@mprse @fkjagodzinski @maciejbocianski Can you review these test changes ? |
Waiting for core team to review, meanwhile /morph build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if I count as core team, but this is a good solution 👍
EDIT: GitHub says I do, but I'm not sure that's correct. @SenRamakri?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting. Curious to see how well this works. LGTM.
/morph build |
Build : SUCCESSBuild number : 2705 Triggering tests/morph test |
Build : SUCCESSBuild number : 2708 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 2334 |
Exporter Build : FAILUREBuild number : 2337 |
That's what I get for double building... |
Test : SUCCESSBuild number : 2436 |
Exporter Build : SUCCESSBuild number : 2344 |
Test : SUCCESSBuild number : 2439 |
…h_memory Skip a few tests if not enough memory can be allocated for them
Description
Some tests need large amounts of memory in order to work. These tests will fail on low end boards, having low memory. This is also shown in issue #7115 where these tests fail on the TMPM066 board. This PR fixes the problem by simply skipping the test if there's not enough memory. All allocations use the std::nothrow directive.
PR depends on #7448.Pull request type