From: Richard Kettlewell Date: Mon, 19 Nov 2007 21:05:25 +0000 (+0000) Subject: test path fixes X-Git-Tag: debian-1_5_99dev8~19 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/f31e414df6e5bfd97c95eeca4b31362b35c91811 test path fixes --- diff --git a/tests/Makefile.am b/tests/Makefile.am index a99e2b8..ae00934 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -19,7 +19,7 @@ # check: - PATH=../server:$$PATH \ + PATH=`pwd`/../server:`pwd`/..clients:$$PATH \ PYTHONPATH=../python \ topsrcdir=${top_srcdir} \ ${PYTHON} ${srcdir}/alltests diff --git a/tests/dtest.py b/tests/dtest.py index 3d70924..85a54cc 100644 --- a/tests/dtest.py +++ b/tests/dtest.py @@ -13,7 +13,7 @@ def maketrack(s): """maketrack(S) Make track with relative path S exist""" - trackpath = "%s/%s" % (testroot, s) + trackpath = "%s/tracks/%s" % (testroot, s) trackdir = os.path.dirname(trackpath) if not os.path.exists(trackdir): os.makedirs(trackdir)