chiark
/
gitweb
/
~mdw
/
disorder
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
de-verbose speaker
[disorder]
/
tests
/
alltests
1
#! /usr/bin/env python
2
import dtest
3
4
tests = ["nothing"]
5
6
for test in tests:
7
print "Test '%s'" % test
8
m = __import__(test)
9
dtest.run(getattr(m, "test"),
10
setup=getattr(m, "setup", None),
11
report=False,
12
name=test)
13
14
print "%d tests" % dtest.tests
15
if dtest.failures:
16
print "%d failures" % dtest.failures
17
sys.exit(1)
18
else:
19
print "All tests OK"