Browse files

Found the Bug in our Hunt

There was a bug where the final tally of failed tests was incorrect,
because only 1 failing test was counted per file, instead of the number
of tests that actually failed in that file. There are no tests to change
because the harness code that prints results is not tested. This sucks,
and if you don't like it, patches welcome!
  • Loading branch information...
leto committed Jan 23, 2010
1 parent fdcd0d0 commit 1748f234b6e76746446d613aa3b29c16f8389e75
Showing with 1 addition and 1 deletion.
  1. +1 −1 t/harness.pir
@@ -174,7 +174,7 @@ HELP
$I0 = stream.'get_fail'()
print $I0
inc failing_files
- inc failing_tests
+ failing_tests += $I0
$S1 = stream.'total'()
$S0 = "/" . $S1
print $S0

0 comments on commit 1748f23

Please sign in to comment.