run_tests.py exits with 0 even if tests failed

Bug #740109 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Meliae
Fix Released
Medium
Jelmer Vernooij

Bug Description

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.

Related branches

Jelmer Vernooij (jelmer)
Changed in meliae:
status: New → In Progress
assignee: nobody → Jelmer Vernooij (jelmer)
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-----

John A Meinel (jameinel)
Changed in meliae:
milestone: none → 0.4
Jelmer Vernooij (jelmer)
Changed in meliae:
status: In Progress → Fix Committed
importance: Undecided → Medium
Jelmer Vernooij (jelmer)
Changed in meliae:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.