Skip to content

Commit 7d3ce4d

Browse files
committed
Fixed toolchain colummn order when using --config option
1 parent ba4f095 commit 7d3ce4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

workspace_tools/test_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ def print_test_configuration_from_json(json_data, join_delim=", "):
893893
target_name = target if target in TARGET_MAP else "%s*"% target
894894
row = [target_name]
895895
toolchains = targets[target]
896-
for toolchain in toolchains_info_cols:
896+
for toolchain in sorted(toolchains_info_cols):
897897
# Check for conflicts
898898
conflict = False
899899
if toolchain in toolchains:
@@ -911,7 +911,7 @@ def print_test_configuration_from_json(json_data, join_delim=", "):
911911

912912
# generate result string
913913
result = pt.get_string() # Test specification table
914-
if toolchain_conflicts: # Print conflicts if the exist
914+
if toolchain_conflicts: # Print conflicts if exist
915915
result += "\n"
916916
result += "Toolchain conflicts:\n"
917917
for target in toolchain_conflicts:

0 commit comments

Comments
 (0)