zephyr/tests/bsim/bluetooth/host
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
..
adv Bluetooth: Host: bsim: Refactor common files 2025-01-17 13:41:50 +01:00
att Bluetooth: Host: bsim: Refactor common files 2025-01-17 13:41:50 +01:00
central tests: bsim: bluetooth: host: use twister to compile tests 2024-12-07 02:03:31 +01:00
gatt Bluetooth: Host: bsim: Refactor common files 2025-01-17 13:41:50 +01:00
id/settings tests: bsim: bluetooth: host: use twister to compile tests 2024-12-07 02:03:31 +01:00
iso Bluetooth: Host: bsim: Refactor common files 2025-01-17 13:41:50 +01:00
l2cap Bluetooth: Host: bsim: Refactor common files 2025-01-17 13:41:50 +01:00
misc Bluetooth: Host: bsim: Refactor common files 2025-01-17 13:41:50 +01:00
privacy tests: bsim: bluetooth: host: streamline conf files 2024-12-07 02:03:31 +01:00
scan tests: bsim: bluetooth: host: use twister to compile tests 2024-12-07 02:03:31 +01:00
security Bluetooth: Host: bsim: Refactor common files 2025-01-17 13:41:50 +01:00
compile.sh tests: bsim: bluetooth: host: use twister to compile tests 2024-12-07 02:03:31 +01:00