aboutsummaryrefslogtreecommitdiff
path: root/src/integration-tests/gnunet_testing.py.in
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-09-07 12:04:37 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-09-07 12:04:37 +0000
commit8480e8a58101c08e70db57b791cbfaa2683844d8 (patch)
tree7c584dc1b90d5d5480572c0ca051a708b9c39e55 /src/integration-tests/gnunet_testing.py.in
parentb1b93db7f7f8dfa7bb2fe6d09fd14467b3bb247a (diff)
downloadgnunet-8480e8a58101c08e70db57b791cbfaa2683844d8.tar.gz
gnunet-8480e8a58101c08e70db57b791cbfaa2683844d8.zip
changes
Diffstat (limited to 'src/integration-tests/gnunet_testing.py.in')
-rw-r--r--src/integration-tests/gnunet_testing.py.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/integration-tests/gnunet_testing.py.in b/src/integration-tests/gnunet_testing.py.in
index 41e709f8c..0e3cdaaf8 100644
--- a/src/integration-tests/gnunet_testing.py.in
+++ b/src/integration-tests/gnunet_testing.py.in
@@ -53,11 +53,13 @@ class Check:
53 if ((False == res) and (execs >= timeout)): 53 if ((False == res) and (execs >= timeout)):
54 print ('Check had timeout after ' +str(timeout)+ ' seconds') 54 print ('Check had timeout after ' +str(timeout)+ ' seconds')
55 neg_cont (self) 55 neg_cont (self)
56 elif ((False == res) and (execs >= timeout)): 56 elif ((False == res) and (execs < timeout)):
57 neg_cont (self) 57 if (None != neg_cont):
58 neg_cont (self)
58 else: 59 else:
59 pos_cont (self) 60 if (None != pos_cont):
60 return res 61 pos_cont (self)
62 return res
61 def run_once (self, pos_cont, neg_cont): 63 def run_once (self, pos_cont, neg_cont):
62 execs = 0; 64 execs = 0;
63 res = False 65 res = False