sanitycheck: output a sort list of tests

Make --list-tests output a sorted list.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-12-01 13:24:33 -05:00
commit c1c3cc6ad9

View file

@ -3812,7 +3812,7 @@ def main():
return
elif options.list_tests:
for test in all_tests:
for test in sorted(all_tests):
cnt = cnt + 1
print(" - {}".format(test))
print("{} total.".format(cnt))