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

tests/bsim/run_parallel: Fail if an explicitly listed test is missing & fix missing tests #87282

Merged
merged 3 commits into from
Mar 20, 2025

Conversation

aescolar
Copy link
Member

Instead of just printing a warning, fail (return != 0 to the shell) if a test is missing, or a pattern does not match any test

tests/bsim/bluetooth/ll/bis/tests_scripts/broadcast_iso.sh was split in two in 872b193 but for the 53 and 5340 it was forgotten in the list of tests to run.
Let's fix it.

@aescolar aescolar requested review from Thalley and cvinayak March 18, 2025 13:43
@zephyrbot zephyrbot added area: Bluetooth area: Bluetooth Host Bluetooth Host (excluding BR/EDR) platform: nRF BSIM Nordic Semiconductors, nRF BabbleSim labels Mar 18, 2025
Thalley
Thalley previously approved these changes Mar 18, 2025
Copy link
Contributor

@cvinayak cvinayak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update commit message? but for the 53 and 5340 it was forgotten in the list of tests to run. should be but for the 54L15 and 5340 it was forgotten in the list of tests to run.

Also, fix the bsim job failure?

tests/bsim/bluetooth/ll/bis/tests_scripts/broadcast_iso.sh
was split in two in 872b193
but for the 54L15 and 5340 it was forgotten in the list of
tests to run.
Let's fix it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
We never got to add any multidevice tests to the UART driver tests.
So let's not try to run that empty set in CI.

(we have some multidevice UART tests for BT).

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
@aescolar aescolar force-pushed the bsim_error_onfind branch 2 times, most recently from 6d6af15 to aa4e8d1 Compare March 19, 2025 09:30
jhedberg
jhedberg previously approved these changes Mar 19, 2025
Instead of just printing a warning, fail (return != 0 to the shell)
if a test is missing, or a pattern does not match any test.

Also, warn (and return != 0) if no tests are found when SEARCH_PATH
is provided.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Copy link
Contributor

@cvinayak cvinayak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a bash expert, but approving the inclusions of the tests.

@Thalley
Copy link
Collaborator

Thalley commented Mar 20, 2025

Not a bash expert, but approving the inclusions of the tests.

Github's Copilot can provide additional explanation:
image
:D

@kartben kartben merged commit 5295e10 into zephyrproject-rtos:main Mar 20, 2025
22 checks passed
@aescolar aescolar deleted the bsim_error_onfind branch March 20, 2025 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth Host Bluetooth Host (excluding BR/EDR) area: Bluetooth platform: nRF BSIM Nordic Semiconductors, nRF BabbleSim
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants