From: Thiago Macieira Date: Thu, 16 Jul 2009 14:35:22 +0000 (+0200) Subject: Fix running tests when builddir != srcdir. X-Git-Tag: dbus-1.3.0~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4a342d711f74e545e975fcfc9edcf2c7c63f0724;p=thirdparty%2Fdbus.git Fix running tests when builddir != srcdir. This script is not deployed to the builddir, so it cannot be run with relative paths. --- diff --git a/test/name-test/run-test-systemserver.sh b/test/name-test/run-test-systemserver.sh index 34dd64875..d3b8d557c 100755 --- a/test/name-test/run-test-systemserver.sh +++ b/test/name-test/run-test-systemserver.sh @@ -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