Comment 1 for bug 740109

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 740109] [NEW] run_tests.py exits with 0 even if tests failed

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 3/22/2011 12:07 PM, Jelmer Vernooij wrote:
> Public bug reported:
>
> the testsuite always seems to return 0 at the moment, even if there were
> failing or errorring tests.
>
> this makes it harder to script running the testsuite in e.g. packaging
> scripts.
>
> ** Affects: meliae
> Importance: Undecided
> Assignee: Jelmer Vernooij (jelmer)
> Status: In Progress
>
> ** Changed in: meliae
> Status: New => In Progress
>
> ** Changed in: meliae
> Assignee: (unassigned) => Jelmer Vernooij (jelmer)
>
> ** Branch linked: lp:~jelmer/meliae/tests-exitcode
>

We may just want to change it to use "testtools.run" if that does the
right thing.

I'm not wedded to the test runner. Though I like having optional -v and
- --one and regex matching.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2IhT0ACgkQJdeBCYSNAAM47gCglTBqwc0hJpg7gQKH22JQrMcg
wM4AoM5fjcNN74gBDP++nuMwwH727Cl8
=XTAH
-----END PGP SIGNATURE-----