Now they can run in parallel without breaking each other, which is nice.
It's nice for two reasons: firstly, Automake changed behaviour and runs
tests in parallel by default nowadays; and secondly, the tests are
rather slow because they involve a bunch of waiting around for things,
and waiting for stuff in parallel is easy.
The downside is that we end up gobbling a lot of disk space with all of
the logfiles. I think this is a good trade.
def common_setup():
remove_dir(testroot)
- os.mkdir(testroot)
+ os.makedirs(testroot)
# Choose a port
global port
port = random.randint(49152, 65530)
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