Given an error report, run all of the failed tests again.
For instance, it can be used in the following scenario:
% bin/test -vvm lp.registry | tee test.out
% # Oh nos! Failures!
% # Fix tests.
% bin/retest test.out
Or, when run without arguments (or if any argument is "-"), a test
report (or a part of) can be piped in, for example by pasting it:
% bin/retest
Tests with failures:
lib/lp/registry/browser/tests/sourcepackage-views.txt
lib/lp/registry/tests/../stories/product/xx-product-package-pages.txt
Total: ... tests, 2 failures, 0 errors in ...
| Function | decolorize | Remove all ANSI terminal color escapes from text. |
| Function | get_test_name | Get the test name of a failed test. |
| Function | gen_test_lines | Undocumented |
| Function | gen_tests | Undocumented |
| Function | extract_tests | Undocumented |
| Function | run_tests | Given a set of tests, run them as one group. |
| Function | main | Undocumented |