]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: remote: Show dev/apdev for hwsim
authorJanusz Dziedzic <janusz.dziedzic@gmail.com>
Sun, 12 Jan 2020 22:02:17 +0000 (23:02 +0100)
committerJouni Malinen <j@w1.fi>
Sun, 23 Feb 2020 13:18:49 +0000 (15:18 +0200)
In case the hwsim wrapper is 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

index b93ea9b18da2b38927a55f7e99ad79ced53f7d38..b686108166a5a14a6c84f47436948121664000c0 100755 (executable)
@@ -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))