From: Janusz Dziedzic Date: Sat, 26 Sep 2020 11:26:52 +0000 (+0200) Subject: tests: remote: Sort tests correctly X-Git-Tag: hostap_2_10~925 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac6595f2816bc021ab4a0c7a215f0d1c559f8026;p=thirdparty%2Fhostap.git tests: remote: Sort tests correctly Problem appeared after introducing python3 support. Signed-off-by: Janusz Dziedzic --- 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: