zephyr/tests/bsim
Håvard Reierstad fe923670a9 Bluetooth: Host: bsim: Refactor common files
This commit deals mainly with bsim tests which have `common.c/h` files.
It does the following changes:
* Use functionality from the `babbelkit` library for common functions
  related to flags, test progression (failing, passing etc.) and
  synchronization between two devices. Locally defined equivalents are
  removed.
* Remove the `common.c/h` containing only functionality that is provided
  by the `babblekit` library.
* Remove the `test_pre_init_f` and `test_tick_f` functions (commonly
  implemented as `test_init` and `test_tick`) from the modified tests.
  These functions are not needed as they were only used to fail the test
  if a device didn't complete the test within a certain time frame. This
  is already handled by the `sim_length` argument used in the test
  scripts.
* Changes use of `atol` to `strtol` as the prior is against Zephyr
  coding guidelines.

Signed-off-by: Håvard Reierstad <haavard.reierstad@nordicsemi.no>
2025-01-17 13:41:50 +01:00
..
babblekit tests: Bluetooth: Add ACL re-assembly test 2024-07-10 11:47:26 -04:00
bluetooth Bluetooth: Host: bsim: Refactor common files 2025-01-17 13:41:50 +01:00
drivers/uart tests/bsim sh scripts: Reduce boilerplate 2024-03-25 16:17:13 +01:00
net net: openthread: Allow a platform to select a Settings backend. 2024-12-02 18:18:20 +01:00
ci.bt.sh tests: bsim: bluetooth: host: use twister to compile tests 2024-12-07 02:03:31 +01:00
ci.net.sh ci: bsim tests: Move CI steps to separate scripts 2024-06-13 17:52:03 +02:00
ci.uart.sh tests/bsim: Also runtime test the UART drivers for the nrf54l15 2024-11-22 11:34:30 +01:00
compile.sh tests/bsim sh scripts: Reduce boilerplate 2024-03-25 16:17:13 +01:00
compile.source tests: bsim: support snippets 2024-11-25 14:41:43 +01:00
generate_coverage_report.sh tests/bsim: Add a script to generate coverage reports 2023-04-21 16:23:35 +02:00
run_parallel.sh tests/bsim/run_parallel.sh: Do not attempt to run parallel with no tests 2024-06-14 05:31:08 -04:00
sh_common.source tests/bsim: For nrf52bsim use full board name with qualifiers 2024-12-04 16:12:18 +01:00