[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 17:11:23 CEST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=52049
--- Comment #4 from Luis Araujo <luis.araujo at collabora.co.uk> 2012-07-20 15:11:23 UTC ---
(In reply to comment #2)
> (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.
This is also good, as long as we get a proper output stating "This TEST
generated this RESULT" per line, pretty much anything could work; and basically
my patch was oriented to include this format for the tests output.
--
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