source: PlatformSupport/matperf/client/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: 582 bytes
Line 
1cheq = open('tempo_result.txt').readlines()
2cla = open('checkresult.txt','a')
3for j in range(len(cheq)):
4    cla.write(cheq[j])
5cla.close()
6
7cal = open('result.txt','a')
8for i in range(len(cheq)):
9    if cheq[i].find('WARNING') != -1:
10       cheq[i] = ''
11    if cheq[i].find('out') != -1:
12        cheq[i] = ''
13    if (cheq[i].find('failed') != -1 | cheq[i].find('refused') != -1):
14        cheq[i] = ''
15    if cheq[i].find('quit') != -1:
16        cheq[i] = ''
17
18for i in range(len(cheq)):
19    if cheq[i] == '':
20        continue
21    cal.write(cheq[i])
22cal.close()
Note: See TracBrowser for help on using the repository browser.