CI Ping/Iperf: add tests, print without lock, reduce code lines

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.
This commit is contained in:
Robert Schmidt
2024-09-28 12:45:07 +02:00
parent 02d5f953a8
commit 0da2f27fa7
5 changed files with 105 additions and 47 deletions
+1
View File
@@ -7,5 +7,6 @@ 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.