diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-02-10 16:48:24 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-02-10 16:48:24 +0000 |
commit | 5ec0ad3a30b5e9df61ee89f806288d251b5d2358 (patch) | |
tree | f397bdf697728f6c7664fc536f1e97877bbdba77 /testsuite/driver | |
parent | 8e1e95e3330e37a184c0cb8c76c3bf7c0838d921 (diff) | |
download | haskell-5ec0ad3a30b5e9df61ee89f806288d251b5d2358.tar.gz |
Rearrange the summary output
In particular, the 3 values you most need to care about (framework
failures, unexpected passes, unexpected failures) are now together
in a block.
Diffstat (limited to 'testsuite/driver')
-rw-r--r-- | testsuite/driver/testlib.py | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py index 77b05ed99e..e77c7d9c4e 100644 --- a/testsuite/driver/testlib.py +++ b/testsuite/driver/testlib.py @@ -2217,25 +2217,27 @@ def summary(t, file): file.write('\n') printUnexpectedTests(file, [t.unexpected_passes, t.unexpected_failures]) - file.write('OVERALL SUMMARY for test run started at ' \ - + t.start_time + '\n'\ - + string.rjust(`t.total_tests`, 8) \ - + ' total tests, which gave rise to\n' \ - + string.rjust(`t.total_test_cases`, 8) \ - + ' test cases, of which\n' \ - + string.rjust(`t.n_framework_failures`, 8) \ - + ' caused framework failures\n' \ + file.write('OVERALL SUMMARY for test run started at ' + + t.start_time + '\n' + + string.rjust(`t.total_tests`, 8) + + ' total tests, which gave rise to\n' + + string.rjust(`t.total_test_cases`, 8) + + ' test cases, of which\n' + string.rjust(`t.n_tests_skipped`, 8) - + ' were skipped\n\n' \ - + string.rjust(`t.n_expected_passes`, 8) - + ' expected passes\n' \ + + ' were skipped\n' + + '\n' + string.rjust(`t.n_missing_libs`, 8) - + ' had missing libraries\n' \ - + string.rjust(`t.n_expected_failures`, 8) \ - + ' expected failures\n' \ - + string.rjust(`t.n_unexpected_passes`, 8) \ + + ' had missing libraries\n' + + string.rjust(`t.n_expected_passes`, 8) + + ' expected passes\n' + + string.rjust(`t.n_expected_failures`, 8) + + ' expected failures\n' + + '\n' + + string.rjust(`t.n_framework_failures`, 8) + + ' caused framework failures\n' + + string.rjust(`t.n_unexpected_passes`, 8) + ' unexpected passes\n' - + string.rjust(`t.n_unexpected_failures`, 8) \ + + string.rjust(`t.n_unexpected_failures`, 8) + ' unexpected failures\n' + '\n') |