[telepathy-mission-control/master] tests: abort if MC_ACCOUNT_DIR isn't set

Simon McVittie simon.mcvittie at collabora.co.uk
Thu May 14 10:00:00 PDT 2009


---
 test/twisted/tools/exec-with-log.sh.in |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/test/twisted/tools/exec-with-log.sh.in b/test/twisted/tools/exec-with-log.sh.in
index c8a6c61..143ecf8 100644
--- a/test/twisted/tools/exec-with-log.sh.in
+++ b/test/twisted/tools/exec-with-log.sh.in
@@ -5,6 +5,11 @@ cd "@abs_top_builddir@/test/twisted/tools"
 ulimit -c unlimited
 exec > missioncontrol-$$.log 2>&1
 
+if test -z "$MC_ACCOUNT_DIR"; then
+        echo "MC_ACCOUNT_DIR must be set"
+        exit 1
+fi
+
 if test -n "$MISSIONCONTROL_TEST_VALGRIND"; then
         G_DEBUG="$G_DEBUG,gc-friendly"
         export G_DEBUG
-- 
1.5.6.5




More information about the telepathy-commits mailing list