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

Janusz Dziedzic janusz.dziedzic at gmail.com
Sat Sep 26 07:26:52 EDT 2020


Problem apear after introduce python3.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic at gmail.com>
---
 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




More information about the Hostap mailing list