Add temp limit to report

This commit is contained in:
2Shirt 2019-02-05 21:26:27 -07:00
parent dc6de9cab0
commit 7132d971f6
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -1440,7 +1440,9 @@ def run_mprime_test(state, test):
' {YELLOW}Aborted{CLEAR}'.format(**COLORS))
if test.thermal_abort:
test.report.append(
' {RED}CPU reached temperature limit{CLEAR}'.format(**COLORS))
' {RED}CPU reached temperature limit of {temp}°C{CLEAR}'.format(
temp=THERMAL_LIMIT,
**COLORS))
# Done
update_progress_pane(state)