telepathy-mission-control: Log verbose test output and give it the same treatment as MC's log
Simon McVittie
smcv at kemper.freedesktop.org
Fri Sep 20 09:50:20 PDT 2013
Module: telepathy-mission-control
Branch: master
Commit: 5336208b2848c810c0e9168cc629f9a63593f9ac
URL: http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=5336208b2848c810c0e9168cc629f9a63593f9ac
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Thu Sep 19 19:44:03 2013 +0100
Log verbose test output and give it the same treatment as MC's log
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69585
Reviewed-by: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
---
tests/twisted/run-test.sh.in | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/tests/twisted/run-test.sh.in b/tests/twisted/run-test.sh.in
index b79397e..56ade7b 100644
--- a/tests/twisted/run-test.sh.in
+++ b/tests/twisted/run-test.sh.in
@@ -111,13 +111,17 @@ for i in $list ; do
AG_SERVICES="${tmp}/libaccounts-services"
export AG_SERVICES
+ CHECK_TWISTED_VERBOSE=1
+ export CHECK_TWISTED_VERBOSE
+
e=0
sh "${test_src}/twisted/tools/with-session-bus.sh" \
${MC_TEST_SLEEP} \
--also-for-system \
--config-file="${config_file}" \
-- \
- @TEST_PYTHON@ -u "${test_src}/twisted/$i" || e=$?
+ @TEST_PYTHON@ -u "${test_src}/twisted/$i" \
+ > "$tmp"/test.log 2>&1 || e=$?
case "$e" in
(0)
echo "PASS: $i"
More information about the telepathy-commits
mailing list