diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-03-26 12:09:33 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-03-27 09:20:50 +0000 |
commit | 3af07d22d072aef63bca297c5e20a59185064100 (patch) | |
tree | ed37b7fd6e57eec3eb1dc1b412dd379fabd12fe1 | |
parent | 50c2b81350cd06d4930d63f6b0c9f9b704a18430 (diff) |
Replace MC_ABS_TOP_BUILDDIR, ...SRCDIR with CHECK_TWISTED_ABS_TOP_BUILDDIR, ...SRCDIR
-rw-r--r-- | tests/twisted/Makefile.am | 4 | ||||
-rw-r--r-- | tests/twisted/run-test.sh.in | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/twisted/Makefile.am b/tests/twisted/Makefile.am index 751e7c4b..458183a4 100644 --- a/tests/twisted/Makefile.am +++ b/tests/twisted/Makefile.am @@ -273,8 +273,8 @@ check-twisted: $(BUILT_SOURCES) failed=0; \ CHECK_TWISTED_UNINSTALLED=1 \ CHECK_TWISTED_SLOW=$(CHECK_TWISTED_SLOW) \ - MC_ABS_TOP_SRCDIR=@abs_top_srcdir@ \ - MC_ABS_TOP_BUILDDIR=@abs_top_builddir@ \ + CHECK_TWISTED_ABS_TOP_SRCDIR=@abs_top_srcdir@ \ + CHECK_TWISTED_ABS_TOP_BUILDDIR=@abs_top_builddir@ \ sh run-test.sh "${TWISTED_TESTS}${extra_tests}" if test -e core; then\ echo "Core dump exists: core";\ diff --git a/tests/twisted/run-test.sh.in b/tests/twisted/run-test.sh.in index 05d6d644..fa3b985b 100644 --- a/tests/twisted/run-test.sh.in +++ b/tests/twisted/run-test.sh.in @@ -34,17 +34,17 @@ if test "x$CHECK_TWISTED_UNINSTALLED" = x; then CHECK_TWISTED_PATH="@mctestsdir@/twisted" export CHECK_TWISTED_PATH else - if test -z "$MC_ABS_TOP_SRCDIR"; then - echo "Bail out! MC_ABS_TOP_SRCDIR must be set" + if test -z "$CHECK_TWISTED_ABS_TOP_SRCDIR"; then + echo "Bail out! CHECK_TWISTED_ABS_TOP_SRCDIR must be set" exit 1 fi - if test -z "$MC_ABS_TOP_BUILDDIR"; then - echo "Bail out! MC_ABS_TOP_BUILDDIR must be set" + if test -z "$CHECK_TWISTED_ABS_TOP_BUILDDIR"; then + echo "Bail out! CHECK_TWISTED_ABS_TOP_BUILDDIR must be set" exit 1 fi - test_src="${MC_ABS_TOP_SRCDIR}/tests" - test_build="${MC_ABS_TOP_BUILDDIR}/tests" + test_src="${CHECK_TWISTED_ABS_TOP_SRCDIR}/tests" + test_build="${CHECK_TWISTED_ABS_TOP_BUILDDIR}/tests" config_file="${test_build}/twisted/tools/servicedir-uninstalled/tmp-session-bus.conf" plugins="${test_build}/twisted/.libs" |