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 | |
---|
1 | cheq = open('tempo_result.txt').readlines() |
---|
2 | cla = open('checkresult.txt','a') |
---|
3 | for j in range(len(cheq)): |
---|
4 | cla.write(cheq[j]) |
---|
5 | cla.close() |
---|
6 | |
---|
7 | cal = open('result.txt','a') |
---|
8 | for 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 | |
---|
18 | for i in range(len(cheq)): |
---|
19 | if cheq[i] == '': |
---|
20 | continue |
---|
21 | cal.write(cheq[i]) |
---|
22 | cal.close() |
---|
Note: See
TracBrowser
for help on using the repository browser.