chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
544bd85
)
More reliably shut down daemon when test fails or is skipped.
author
Richard Kettlewell
<rjk@greenend.org.uk>
Sun, 7 Mar 2010 15:20:46 +0000
(15:20 +0000)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Sun, 7 Mar 2010 15:20:46 +0000
(15:20 +0000)
tests/dtest.py
patch
|
blob
|
blame
|
history
diff --git
a/tests/dtest.py
b/tests/dtest.py
index f17cf8e1af5a665f08ddb4cacf885bd53c26f096..ec42e702ff7b1c805291c365bce0e4c8b0643bc0 100644
(file)
--- a/
tests/dtest.py
+++ b/
tests/dtest.py
@@
-337,7
+337,8
@@
def run(module=None, report=True):
except Exception, e:
traceback.print_exc(None, sys.stderr)
failures += 1
except Exception, e:
traceback.print_exc(None, sys.stderr)
failures += 1
- stop_daemon()
+ finally:
+ stop_daemon()
if report:
if failures:
print " FAILED"
if report:
if failures:
print " FAILED"