We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bdf0d0 commit b2c1f51Copy full SHA for b2c1f51
tools/projects_sort.py
@@ -2,6 +2,7 @@
2
#
3
# DAPLink Interface Firmware
4
# Copyright (c) 2009-2021, Arm Limited, All Rights Reserved
5
+# Copyright (c) 2021 Mathias Brossard
6
# SPDX-License-Identifier: Apache-2.0
7
8
# Licensed under the Apache License, Version 2.0 (the "License"); you may
@@ -48,17 +49,18 @@
48
49
boards.append(p)
50
51
hics.sort()
52
+boards.sort()
53
+all_sorted = hics + boards
54
+
55
for p in hics:
56
print(p)
57
print()
-boards.sort()
58
for p in boards:
59
60
-all_sorted = hics + boards
61
for i in range(len(project_list)):
62
if project_list[i] != all_sorted[i]:
63
sys.stderr.write("Found '%s' expected '%s'\n" % (project_list[i], all_sorted[i]))
- break
64
+ exit(-1)
65
66
exit(0)
0 commit comments