[lldb-dev] [Bug 27423] New: test infra: clear file-level test results on any test files being rerun prior to starting the rerun

via lldb-dev lldb-dev at lists.llvm.org
Tue Apr 19 08:55:49 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=27423

            Bug ID: 27423
           Summary: test infra: clear file-level test results on any test
                    files being rerun prior to starting the rerun
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: todd.fiala at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The test rerun logic will charge timeouts and exceptional exits to the file if
and only if the dotest.py inferior was not in the middle of running a test
method when the timeout or exceptional exit occurred.

In these cases, it is impossible for a *successful* rerun to clear that
file-level event since the successful rerun will simply overwrite test-method
test results, not file-level results.

The simple solution here is to take the set of files that are scheduled for
rerun, and clear any file-level test result for them.  If the file-level event
that was charged previously is deterministically repeating, it will occur again
and we will not lose it.  In the meantime, we allow the rerun to clear the
file-level event so that successful reruns come back clean.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160419/d00c989c/attachment.html>


More information about the lldb-dev mailing list