Adjusted Prime95 osTicket report
* Post report regardless of result
This commit is contained in:
parent
824c184d59
commit
0fae4128ed
1 changed files with 28 additions and 32 deletions
|
|
@ -979,11 +979,7 @@ def run_mprime(ticket_number):
|
||||||
update_progress()
|
update_progress()
|
||||||
|
|
||||||
# Build osTicket report
|
# Build osTicket report
|
||||||
if TESTS['Prime95']['Status'] not in ['Unknown', 'Aborted']:
|
report = ['Prime95 ({}):'.format(TESTS['Prime95']['Status'])]
|
||||||
report = ['System {} Prime95 testing.'.format(
|
|
||||||
'FAILED' if TESTS['Prime95']['NS'] else 'passed')]
|
|
||||||
report.append('')
|
|
||||||
report.append('Prime95 log:')
|
|
||||||
log_path = '{}/prime.log'.format(global_vars['LogDir'])
|
log_path = '{}/prime.log'.format(global_vars['LogDir'])
|
||||||
try:
|
try:
|
||||||
with open(log_path, 'r') as f:
|
with open(log_path, 'r') as f:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue