summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-09-19 19:44:03 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-09-20 12:51:04 +0100
commit5336208b2848c810c0e9168cc629f9a63593f9ac (patch)
treebe680feebdea05a73a0a11d4274a46770b9bc91a
parent38bbbf49bd1e357d1a4a9e6508c718c5edb9baf7 (diff)
downloadtelepathy-mission-control-5336208b2848c810c0e9168cc629f9a63593f9ac.tar.gz
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@collabora.co.uk>
-rw-r--r--tests/twisted/run-test.sh.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/twisted/run-test.sh.in b/tests/twisted/run-test.sh.in
index b79397e3..56ade7b3 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"