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 a99e2b80c19ac5f9b26ce7a4712bb5fdf5ed3a20..ae009349587a98da718dd087d689140439fa912f 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 3d70924e288050be31986ae19e5b54a4cb5691fc..85a54ccba2c97711f9a151fece9d50ecdeea46d9 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)