[Bug 52049] Update telepathy-gabble-tests to show pass/fail tests status

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 20 19:01:19 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=52049

--- Comment #2 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-07-20 10:01:19 PDT ---
(In reply to comment #1)
>         (0)
>             echo "Result  $i: pass"
>             ;;
>         (77)
>             echo "Result  $i: skip"
>             ;;
>         (*)
>             any_failed=1
>             echo "Result  $i: fail ($e)"
>             ;;

It's probably also easier to grep/search output if you use the same convention
as Automake, which is:

PASS: a-test-that-passed
SKIP: a-test-that-exited-77
FAIL: a-test-that-failed

Then you can search for ^FAIL really easily, with fewer false positives from
tests that happen to output "Testing recovery when GetBadger fails..." or
whatever.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list