Add some basic unit tests to verify that Iperf/Ping work. Harmonize the logging by only print in the "main" iperf/ping function, to avoid that if we test with multiple UEs, the output intermixes. Also, do one common mkdir before starting multiple pings/iperfs. Finally, harmonize the paths so that Iperf and Ping log their files in the same place.
296 B
296 B
In this directory and subdirectories are various CI code test cases and helper scripts.
Unit test
There are some unit tests. From the parent directory, i.e., ci-scripts/,
start with
python tests/deployment.py -v
python tests/ping-iperf.py -v
It will indicate if all tests passed.