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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 tests/remote/run-tests.py | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

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))
 
-- 
2.17.1


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux