Fix running tests when builddir != srcdir.
authorThiago Macieira <thiago@kde.org>
Thu, 16 Jul 2009 14:35:22 +0000 (16:35 +0200)
committerThiago Macieira <thiago@kde.org>
Thu, 16 Jul 2009 14:35:22 +0000 (16:35 +0200)
This script is not deployed to the builddir, so it cannot be
run with relative paths.

test/name-test/run-test-systemserver.sh

index 34dd648..d3b8d55 100755 (executable)
@@ -41,7 +41,7 @@ if ! grep -q 'DBus.Error' echo-error-output.tmp; then
 fi
 
 echo "running test echo signal"
-if ! python ./test-wait-for-echo.py; then
+if ! python $DBUS_TOP_SRCDIR/test/name-test/test-wait-for-echo.py; then
   echo "Failed test-wait-for-echo"
   exit 1
 fi