<div dir="ltr">Currently when you run dotest.py, at the end it prints a summary of the test run.  It prints the number of failures, the total number of tests, and then for each failing test, it shows you what file failed.<div><br></div><div>I'm interested in changing this so that for the purposes of reporting, it treats every function in every file as a separate test.</div><div><br></div><div>Imagine the case where you've got 5 python files in your test suite, and each one has 12 individual tests.  In each one, a single test fails, and the other 4 pass.  Currently, dotest will make it look like you've got a 0% pass rate, when in truth you've got a 93% pass rate.</div><div><br></div><div>So I would propose changing the output of dotest from this:</div><div><br></div><div><div>FAILED (errors=6, skipped=3)</div><div>Ran 377 tests.<br></div><div>Failing Tests (146)</div><div>FAIL: LLDB (suite) :: Test-rdar-10449092.py (Windows zturner-win81 8 6.2.9200 AMD64 Intel64 Family 6 Model 45 Stepping 7, GenuineIntel)</div><div><br></div></div><div>To something like this:</div><div><br></div><div><div>FAILED (errors=6, skipped=3)</div><div>Ran 1,527 tests.<br></div><div>Failing Tests (356)</div><div>FAIL: LLDB (suite) :: Test-rdar-10449092.py (2 tests failed) (Windows zturner-win81 8 6.2.9200 AMD64 Intel64 Family 6 Model 45 Stepping 7, GenuineIntel)</div></div><div><br></div><div>Any thoughts on this?</div></div>