Mercurial > ~astiob > upreckon > hgweb
diff test.py @ 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 | ed90b375d197 |
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)