zephyr/tests/bluetooth/bsim
Alberto Escolar Piedras 8cf65fa282 tests: bluetooth gatt settings: Fix random test failures
These tests are creating and deleting temporary files.
But they deleted them with a wildcard that
matched each other's temporary files causing failures
when the tests run in parallel.
Avoid it by only deleting the files for each test.

As a freeby: Add the option to pass arbitrary commands to Phy from the
calling script, as with most other tests

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-03-09 15:37:13 +01:00
..
audio tests: Bluetooth: Fix VCP Vol rend standalone tests not being run 2023-03-08 11:07:00 +01:00
host tests: bluetooth gatt settings: Fix random test failures 2023-03-09 15:37:13 +01:00
ll samples and tests: Add REQUIRED to Zephyr find_package call 2023-03-02 09:58:27 +01:00
mesh tests: Bluetooth: Mesh: fix read access to uninitialized memory 2023-03-08 08:58:37 +01:00
README.txt
_compile_permutate_kconfigs.sh
compile.sh
compile.source
run_parallel.sh

README.txt

This folder contains tests meant to be run with BabbleSim's physical layer
simulation, and therefore cannot be run directly from twister

The compile.sh and run_parallel.sh scripts are used by the CI system to build
the needed images and execute these tests in batch.

You can also run them manually if desired, but be sure to call them setting
the variables they expect. For example, from Zephyr's root folder, you can run:

WORK_DIR=${ZEPHYR_BASE}/bsim_bt_out tests/bluetooth/bsim/compile.sh
RESULTS_FILE=${ZEPHYR_BASE}/myresults.xml SEARCH_PATH=tests/bluetooth/bsim tests/bluetooth/bsim/run_parallel.sh

Or to run only a specific subset, e.g. host advertising tests:
WORK_DIR=${ZEPHYR_BASE}/bsim_bt_out tests/bluetooth/bsim/host/compile.sh
RESULTS_FILE=${ZEPHYR_BASE}/myresults.xml SEARCH_PATH=tests/bluetooth/bsim/host/adv tests/bluetooth/bsim/run_parallel.sh