Each .py file can contain many test cases, and dosep currently reports only (# of files whose exit status was non-zero) / (total # of files examined).
This can skew the results if you have many .py files where only a small fraction of the test cases inside the .py file actually fail. With this patch we now print both ratios. The output after all tests have been run now looksl ike this:
[1/1] Testing LLDB (with a separate subprocess per test) FAILED: <snipped/> Ran 377 test suites (12 failed) (3.18%) Ran 363 test cases (25 failed) (6.88%) FAIL: LLDB (suite) :: Test-rdar-10449092.py (Windows zturner-win81 8 6.2.9200 AMD64 Intel64 Family 6 Model 45 Stepping 7, GenuineIntel) ...