test-my-pr: if there are crashes then dont compare results and timings
This commit is contained in:
parent
4401eba3fa
commit
2e7babbc8d
|
@ -187,10 +187,11 @@ if __name__ == "__main__":
|
|||
with open(result_file, 'a') as myfile:
|
||||
myfile.write(package + '\n')
|
||||
diff = lib.diff_results('main', results_to_diff[0], 'your', results_to_diff[1])
|
||||
if diff != '':
|
||||
if not main_crashed and not your_crashed and diff != '':
|
||||
myfile.write(f'libraries:{libraries}\n')
|
||||
myfile.write('diff:\n' + diff + '\n')
|
||||
|
||||
if not main_crashed and not your_crashed:
|
||||
with open(timing_file, 'a') as myfile:
|
||||
myfile.write('{:{package_width}} {:{timing_width}} {:{timing_width}} {:{timing_width}}\n'.format(
|
||||
package, format_float(time_main),
|
||||
|
|
Loading…
Reference in New Issue