<p dir="ltr">No problem here.</p>
<div class="gmail_quote">On May 21, 2015 2:51 PM, "Zachary Turner" <<a href="mailto:zturner@google.com">zturner@google.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>
<br>_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
<br></blockquote></div>