chiark / gitweb /
test path fixes
authorRichard Kettlewell <rjk@greenend.org.uk>
Mon, 19 Nov 2007 21:05:25 +0000 (21:05 +0000)
committerRichard Kettlewell <rjk@greenend.org.uk>
Mon, 19 Nov 2007 21:05:25 +0000 (21:05 +0000)
tests/Makefile.am
tests/dtest.py

index a99e2b8..ae00934 100644 (file)
@@ -19,7 +19,7 @@
 #
 
 check:
-       PATH=../server:$$PATH \
+       PATH=`pwd`/../server:`pwd`/..clients:$$PATH \
        PYTHONPATH=../python \
                topsrcdir=${top_srcdir} \
                ${PYTHON} ${srcdir}/alltests
index 3d70924..85a54cc 100644 (file)
@@ -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)