Skip to content

Commit 9c4dcab

Browse files
committed
report: For source-test-* tasks without platform information in the label, assume the platform is Linux
Fixes #1583
1 parent 070ae0b commit 9c4dcab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

report/firefox_code_coverage/codecoverage.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ def get_platform(task_name):
140140
return "windows"
141141
elif "macosx" in task_name:
142142
return "macos"
143+
# Assume source-test tasks without the OS name in the label are on Linux.
144+
elif "source-test" in task_name:
145+
return "linux"
143146
else:
144147
raise Exception(f"Unknown platform for {task_name}")
145148

0 commit comments

Comments
 (0)