Mercurial > ~astiob > upreckon > hgweb
changeset 6:b0034b18f942
maxexitcode now gets on with test groups
This includes the implied single-test-case groups.
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Sun, 14 Feb 2010 00:17:43 +0000 |
parents | eb15a5a9b026 |
children | a99db3631d10 |
files | test.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/test.py Sun Feb 14 00:08:16 2010 +0000 +++ b/test.py Sun Feb 14 00:17:43 2010 +0000 @@ -864,7 +864,7 @@ if npoints: ncorrectvalued += 1 if ntotalgrp: - if scoregrp < maxpointsgrp: + if ncorrectgrp < ntotalgrp: scoregrp = 0 if ntotalgrp > 1: print 'Group total: %d/%d tests; %g/%g points' % (ncorrectgrp, ntotalgrp, scoregrp, maxpointsgrp)