hostapd/tests/remote
Janusz Dziedzic ff9bb8a210 tests/remote: Add test_example.py
This is simple example how to write a simple test case.

modprobe mac80211_hwsim radios=4
run example:
./run-tests.py -d hwsim0 -r hwsim1 -t example

run example with monitors:
./run-tests.py -d hwsim0 -r hwsim1 -t example -m all -m hwsim2

run example with trace record:
./run-tests.py -d hwsim0 -r hwsim1 -t example -T

run example with trace and perf:
./run-tests.py -d hwsim0 -r hwsim1 -t example -T -P

restart hw before test case run:
./run-tests.py -d hwsim0 -r hwsim1 -t example -R

run example verbose
./run-tests.py -d hwsim0 -r hwsim1 -t example -v

For perf/trace you need to write own hw specyfic scripts:
trace_start.sh, trace_stop.sh
perf_start.sh, perf_stop.sh

In any case you will find logs in the logs/current/ directory.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
2016-05-14 17:56:37 +03:00
..
config.py tests/remote: Add monitor.py 2016-05-14 17:56:37 +03:00
monitor.py tests/remote: Add monitor.py 2016-05-14 17:56:37 +03:00
run-tests.py tests/remote: Add utils file 2016-05-14 17:56:37 +03:00
rutils.py tests/remote: Add utils file 2016-05-14 17:56:37 +03:00
test_devices.py tests/remote: Add utils file 2016-05-14 17:56:37 +03:00
test_example.py tests/remote: Add test_example.py 2016-05-14 17:56:37 +03:00