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