[next] telepathy-rakia: Replace @rakiatestsdir@/ twisted with @twistedtestsdir@

Simon McVittie smcv at kemper.freedesktop.org
Wed May 7 03:36:32 PDT 2014


Module: telepathy-rakia
Branch: next
Commit: d8048acd68dda1ca91214d15cf55c722201a94d2
URL:    http://cgit.freedesktop.org/telepathy/telepathy-rakia/commit/?id=d8048acd68dda1ca91214d15cf55c722201a94d2

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Wed May  7 11:17:11 2014 +0100

Replace @rakiatestsdir@/twisted with @twistedtestsdir@

---

 tests/twisted/Makefile.am    |    2 +-
 tests/twisted/run-test.sh.in |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/twisted/Makefile.am b/tests/twisted/Makefile.am
index d69a6d5..c14f935 100644
--- a/tests/twisted/Makefile.am
+++ b/tests/twisted/Makefile.am
@@ -73,7 +73,7 @@ endif
 
 run-test.sh: run-test.sh.in Makefile
 	$(AM_V_GEN)sed \
-			-e 's![@]rakiatestsdir[@]!${testsdir}!' \
+			-e 's![@]twistedtestsdir[@]!${twistedtestsdir}!' \
 			-e 's![@]TEST_PYTHON[@]!$(PYTHON)!' \
 			< $< > $@.tmp && \
 		chmod +x $@.tmp && \
diff --git a/tests/twisted/run-test.sh.in b/tests/twisted/run-test.sh.in
index b93bd18..b798d7a 100644
--- a/tests/twisted/run-test.sh.in
+++ b/tests/twisted/run-test.sh.in
@@ -1,15 +1,15 @@
 #!/bin/sh
 
 if test "x$CHECK_TWISTED_UNINSTALLED" = x; then
-  script_fullname=`readlink -e "@rakiatestsdir@/twisted/run-test.sh"`
+  script_fullname=`readlink -e "@twistedtestsdir@/run-test.sh"`
   if [ `readlink -e "$0"` != "$script_fullname" ] ; then
     echo "This script is meant to be installed at $script_fullname" >&2
     exit 1
   fi
 
-  G_TEST_SRCDIR="@rakiatestsdir@/twisted"
+  G_TEST_SRCDIR="@twistedtestsdir@"
   export G_TEST_SRCDIR
-  G_TEST_BUILDDIR="@rakiatestsdir@/twisted"
+  G_TEST_BUILDDIR="@twistedtestsdir@"
   export G_TEST_BUILDDIR
 
   PYTHONPATH="${G_TEST_SRCDIR}"



More information about the telepathy-commits mailing list