-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[AVSUM] Correct the checking for running in CI #39976
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
Conversation
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.
Code Review
This pull request corrects the variable used to detect if tests are running in a CI environment across three AVSUM test scripts. The change itself is correct.
My review focuses on improving the test logic for when a CI environment is detected. In all three files, the current implementation would silently skip a manual test step, which could lead to misleading test results. I've suggested changes to explicitly skip these manual steps when running in CI, which will improve the clarity and correctness of the test outcomes.
PR #39976: Size comparison from 48704fe to 3c5057f Full report (59 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
Summary
AVSUM test scripts were not correctly checking for running in CI. This was not caught due to a lower layer problem on PIXIT value handling. This PR corrects the checks.
Testing
Using the Python runner execute AVSUM_2_2, AVSUM_2_3, and AVSUM_2_4 providing them with the PIXIT controlling value set to true and false.
Readability checklist
The checklist below will help the reviewer finish PR review in time and keep the
code readable:
descriptive
“When in Rome…”
rule (coding style)
See: Pull Request Guidelines