summaryrefslogtreecommitdiff
path: root/runtests.py
diff options
context:
space:
mode:
authorNikolay Kim <fafhrd91@gmail.com>2013-03-13 15:07:26 -0700
committerNikolay Kim <fafhrd91@gmail.com>2013-03-13 15:07:26 -0700
commitf39e044df8e6b0dcbe200ba406c5e8b9c97076b9 (patch)
tree14ebd3806a09dd2c349e6ad1bf86df6d33985ad5 /runtests.py
parentcedc7915c27513c954a2b6b7fb594d1b06c3f983 (diff)
downloadtrollius-f39e044df8e6b0dcbe200ba406c5e8b9c97076b9.tar.gz
basic udp support
Diffstat (limited to 'runtests.py')
-rw-r--r--runtests.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/runtests.py b/runtests.py
index 89204e8..e4678d7 100644
--- a/runtests.py
+++ b/runtests.py
@@ -180,9 +180,14 @@ def runcoverage(sdir, args):
mods = [source for _, source in load_modules(sdir)]
coverage = [sys.executable, '-m', 'coverage']
- subprocess.check_call(coverage + ['run', '--branch', 'runtests.py'] + args)
- subprocess.check_call(coverage + ['html'] + mods)
- subprocess.check_call(coverage + ['report'] + mods)
+ try:
+ subprocess.check_call(
+ coverage + ['run', '--branch', 'runtests.py'] + args)
+ except:
+ pass
+ else:
+ subprocess.check_call(coverage + ['html'] + mods)
+ subprocess.check_call(coverage + ['report'] + mods)
if __name__ == '__main__':