diff --git a/tests/twisted/run-test.sh.in b/tests/twisted/run-test.sh.in index 6a4cc0f..f4e5819 100644 --- a/tests/twisted/run-test.sh.in +++ b/tests/twisted/run-test.sh.in @@ -15,11 +15,26 @@ else list=$(cat @gabbletestsdir@/twisted/gabble-twisted-tests.list) fi -for i in $list ; do - echo "Testing $i" +any_failed=0 +for i in $list ; do + echo "Testing $i ..." sh @gabbletestsdir@/twisted/tools/with-session-bus.sh \ --config-file=@gabbletestsdir@/twisted/tools/servicedir/tmp-session-bus.conf \ -- \ @PYTHON@ @gabbletestsdir@/twisted/$i + e=$? + case "$e" in + (0) + echo "Result $i: pass" + ;; + (77) + echo "Result $i: skip" + ;; + (*) + any_failed=1 + echo "Result $i: fail ($e)" + ;; + esac done +exit $any_failed