diff mbox series

[03/12] tests: remote: show dev/apdev for hwsim

Message ID 20200112220226.5056-3-janusz.dziedzic@gmail.com
State Accepted
Headers show
Series [01/12] tests: remote: switch to python3 | expand

Commit Message

Janusz Dziedzic Jan. 12, 2020, 10:02 p.m. UTC
In case hwsim wrapper used in remote tests
show also which device will be used as
apdev - hostapd
dev - wpa_supplicant

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@gmail.com>
---
 tests/remote/run-tests.py | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/tests/remote/run-tests.py b/tests/remote/run-tests.py
index b93ea9b18..b68610816 100755
--- a/tests/remote/run-tests.py
+++ b/tests/remote/run-tests.py
@@ -278,9 +278,15 @@  def main():
 
     # now run test cases
     for dut in duts:
-        logger.warning("DUT: " + str(dut))
+        if len(requested_hwsim_tests) > 0:
+            logger.warning("DUT (apdev): " + str(dut))
+        else:
+            logger.warning("DUT: " + str(dut))
     for ref in refs:
-        logger.warning("REF: " + str(ref))
+        if len(requested_hwsim_tests) > 0:
+            logger.warning("REF   (dev): " + str(ref))
+        else:
+            logger.warning("REF: " + str(ref))
     for monitor in monitors:
         logger.warning("MON: " + str(monitor))