[PATCH 1/9] tests: remote: sort tests correctly

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

 



Problem apear after introduce python3.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@xxxxxxxxx>
---
 tests/remote/run-tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/remote/run-tests.py b/tests/remote/run-tests.py
index 95c8ab65d..e26e3483a 100755
--- a/tests/remote/run-tests.py
+++ b/tests/remote/run-tests.py
@@ -231,7 +231,7 @@ def main():
 
     # sort the list
     test_names.sort()
-    tests.sort()
+    tests.sort(key=lambda t: t.__name__)
 
     # print help
     if requested_tests[0] == "help" and len(requested_hwsim_tests) == 0:
-- 
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