zephyr/tests/bsim
Keith Packard 5681f942a8 tests/bsim: Switch main return type from void to int
These changes were automated using coccinelle with the following
script:

@@
@@
- void
+ int
main(...) {
    ...
-	return;
+	return 0;
    ...
}

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-04-14 07:49:41 +09:00
..
bluetooth tests/bsim: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
net tests bsim/net: Add simple echo test over OpenThread 2023-03-22 14:09:03 +01:00
compile.source tests/bsim compile: Do not provide prj conf if default 2023-03-21 14:59:09 +01:00
README.txt tests/bsim: Correct default build path 2023-03-21 09:33:57 +01:00
run_parallel.sh tests/bsim: run_parallel: Improve help message 2023-04-11 16:57:16 +02:00
sh_common.source tests/bsim/bluetooth: Tests scripts refactor 2023-03-21 09:33:57 +01:00

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_out tests/bsim/compile.sh
RESULTS_FILE=${ZEPHYR_BASE}/myresults.xml SEARCH_PATH=tests/bsim tests/bsim/run_parallel.sh

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