source: PlatformSupport/matperf/server/pint.txt

Last change on this file was 951, checked in by chunter, 16 years ago

adding matperf

  • Property svn:executable set to *
File size: 616 bytes
Line 
1cheq = open('tempo_result.txt').readlines()
2cal = open('result.txt','a')
3cla = open('checkresult.txt','a')
4
5for j in range(len(cheq)):
6    cla.write(cheq[j])
7cla.close()
8
9for i in range(len(cheq)):
10   
11    if (cheq[i].find('failed') != -1) | (cheq[i].find('refused') != -1):   
12        lac = open('qfail','w')
13        lac.write('3')
14        lac.close()
15        break
16    if (cheq[i].find('out') != -1) | (cheq[i].find('WARNING') != -1) | (cheq[i].find('quit') != -1):
17        cheq[i] = ''
18
19for i in range(len(cheq)):
20    if cheq[i] == '':
21        continue
22    cal.write(cheq[i])
23
24cal.close()
Note: See TracBrowser for help on using the repository browser.