-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fix TC_SWDIAG_3_1.yaml test case on Linux #15215
Fix TC_SWDIAG_3_1.yaml test case on Linux #15215
Conversation
PR #15215: Size comparison from 01ae39f to e520970 Increases (1 build for linux)
Full report (43 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
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 hit this too, in retrospect.
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.
Fast tracking test updates.
Instead of your own script to regenerate tests, I have opened #15246 that should do what you want (in a faster way) |
/rebase |
- The test case previously expected used/free heap value of 0. - Now the SDK is implementing heap read properly from Linux when built with glibc. This made the code return a real value that fails the test. - Overall, there is no "value" value for heap, we just need a value. The explicit value was replaced with expecting a returned value back.
e520970
to
d3fdd38
Compare
PR #15215: Size comparison from 6103a69 to d3fdd38 Increases (1 build for linux)
Full report (43 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
* Fix TC_SWDIAG_3_1.yaml test case on Linux - The test case previously expected used/free heap value of 0. - Now the SDK is implementing heap read properly from Linux when built with glibc. This made the code return a real value that fails the test. - Overall, there is no "value" value for heap, we just need a value. The explicit value was replaced with expecting a returned value back. * Restyled by whitespace * Restyled by shfmt Co-authored-by: Restyled.io <[email protected]>
Problem
built with glibc. This made the code return a real value
that fails the test.
a value.
Change overview
a returned value back.
save time when regenerating ZAP for just chip-tool
Testing
Ran the modified integration test, now passes on Linux