Skip to content

Commit 3312bf2

Browse files
committed
Fix test header
1 parent 1325760 commit 3312bf2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.ci/generate_test_report_github.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@
1717
args = parser.parse_args()
1818

1919
logo = ":window:" if platform.system() == "Windows" else ":penguin:"
20-
platform_title = f"{logo} {platform.system()} {platform.machine()} Test Results"
20+
# On Linux the machine value is x86_64 on Windows it is AMD64.
21+
if platform.machine() == 'x86_64' or platform.machine() == "AMD64":
22+
arch = "x64"
23+
else:
24+
arch = platform.machine()
25+
platform_title = f"{logo} {platform.system()} {arch} Test Results"
2126
report = generate_test_report_lib.generate_report_from_files(
2227
platform_title, args.return_code, args.build_test_logs
2328
)

0 commit comments

Comments
 (0)