summaryrefslogtreecommitdiffstats
path: root/For Weekly Test
diff options
context:
space:
mode:
authortt412011-08-05 23:44:53 +0200
committertt412011-08-05 23:44:53 +0200
commit7976eed572971596d5c717885342637a00f78224 (patch)
tree557f74f8a884955ad580d9b629f3ee38eedc3a3c /For Weekly Test
parentfix gsm external test (diff)
downloadgsm-selftest-7976eed572971596d5c717885342637a00f78224.tar.gz
gsm-selftest-7976eed572971596d5c717885342637a00f78224.tar.xz
gsm-selftest-7976eed572971596d5c717885342637a00f78224.zip
fix truetable problem agains repeated test.
Diffstat (limited to 'For Weekly Test')
-rw-r--r--For Weekly Test/19-08-2011/gsmselftest1.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/For Weekly Test/19-08-2011/gsmselftest1.py b/For Weekly Test/19-08-2011/gsmselftest1.py
index ade4748..f9dd3c0 100644
--- a/For Weekly Test/19-08-2011/gsmselftest1.py
+++ b/For Weekly Test/19-08-2011/gsmselftest1.py
@@ -587,10 +587,14 @@ else:
initTest(callFrom,callTo)
db.addResult(taskID, result)
- resultList.append([callFrom, callTo, result])
+ #resultList.append([callFrom, callTo, result])
if repeatTest == True and tried <> '1':
db.insertTaskIn2(callTo,callFrom,taskNo, '1')
+ if tried == '1':
+ resultList.append([callTo, callFrom, result])
+ elif tried != '1' and repeatTest != True:
+ resultList.append([callFrom, callTo, result])
db.errorCode(result)
print 'Result : ' +str(result)+ ' ' +db.errCode