run-tests: fixes the number of tests ran when '--retest' is enabled
This patch fixes a regression recently introduced by a refactoring. (see
92a6b16c9186 and about 200 previous changesets from Gregory Szorc)
While retesting, that is when '--retest' is enabled, only failure tests run
and others either skipped or ignored.
During retesting, "result.testsRun" holds the count of failure test that has
run. But as while printing output, we have subtracted the skipped and ignored
count from "result.testsRun". Therefore, to make the count remain
the same, we need to add skipped and ignored count before printing.
run-tests: skipped test should not produce 'i' mark while retesting
When '--retest' option is enabled then skipped test should not produce 'i' mark.
This fixes a regression introduced by
92a6b16c9186 and about 200 previous
changesets from Gregory Szorc.
run-tests: filter whitespace at end of error diffs
Python 2.6 and 2.7 produce slightly different diff headers.
run-tests: produce '!' mark after running a failing test
This patch fixes a regression recently introduced by a refactoring (see
92a6b16c9186 and about 200 previous changesets from Gregory Szorc). '!' mark
denotes that the test gets failed while testing.
run-tests: produce error on running a failing test
This patch fixes a regression recently introduced by a refactoring (see
92a6b16c9186 and about 200 previous changesets from Gregory Szorc). It produce
an error message everytime with a test filename which gets fail while testing
except at one condition when '--nodiff' option is enabled.