INNER CODE UNIT · Python
i
crocs-muni/JCAlgTest · AlgTest_Process/process_results.py:71
i = i - 1
break
pos = lines[i].find(';')
if pos == -1:
pos = len(lines[i])
if pos > 0:
key = lines[i][0: pos].strip()
if lines[i].find('method name:;') != -1:
# do not strip ending ; for line with method for variable data measurements, strip only starting
# method_name;data_length;
value = lines[i][pos:].lstrip(';').strip()
else:
# strip ending ;
value = lines[i][pos:].strip().strip(';').strip()
if perf_measurement and len(value) == 0: # error status like NO_SUCH_ALGORITHM
section_items['status'] = key