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()
|
||||
|
||||
# Build osTicket report
|
||||
if TESTS['Prime95']['Status'] not in ['Unknown', 'Aborted']:
|
||||
report = ['System {} Prime95 testing.'.format(
|
||||
'FAILED' if TESTS['Prime95']['NS'] else 'passed')]
|
||||
report.append('')
|
||||
report.append('Prime95 log:')
|
||||
report = ['Prime95 ({}):'.format(TESTS['Prime95']['Status'])]
|
||||
log_path = '{}/prime.log'.format(global_vars['LogDir'])
|
||||
try:
|
||||
with open(log_path, 'r') as f:
|
||||
|
|
|
|||
Loading…
Reference in a new issue