chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests/dtest.py: Maintain a separate test root for each test.
[disorder]
/
tests
/
dtest.py
diff --git
a/tests/dtest.py
b/tests/dtest.py
index a8ea64cdb526ecc136e269c7596be743a09e17ff..6f9e6a8659526aac515e2e3ee54a95c8db86097e 100644
(file)
--- a/
tests/dtest.py
+++ b/
tests/dtest.py
@@
-198,7
+198,7
@@
mail_sender no.such.user.sorry@greenend.org.uk
def common_setup():
remove_dir(testroot)
def common_setup():
remove_dir(testroot)
- os.m
kdir
(testroot)
+ os.m
akedirs
(testroot)
# Choose a port
global port
port = random.randint(49152, 65530)
# Choose a port
global port
port = random.randint(49152, 65530)
@@
-410,5
+410,6
@@
def command(args):
tests = 0
failures = 0
daemon = None
tests = 0
failures = 0
daemon = None
-testroot = "%s/tests/testroot" % top_builddir
+testroot = "%s/tests/testroot/%s" % \
+ (top_builddir, os.path.basename(sys.argv[0]))
tracks = "%s/tracks" % testroot
tracks = "%s/tracks" % testroot