[lldb-dev] [Bug 25922] New: lldbinline.py-style tests will not rerun

via lldb-dev lldb-dev at lists.llvm.org
Tue Dec 22 08:13:30 PST 2015


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

            Bug ID: 25922
           Summary: lldbinline.py-style tests will not 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 facility cannot run tests implemented through the lldbinline.py
convenience wrapper.

The issue appears to be that the actual TestCase class comes from lldbtest.py,
so the rerun logic (when it asks for the TestCase class path) is attempting to
rerun lldbtest.py.  This is both incorrect vs. intent and is not useful.

I am going to attempt to add an attribute to the test case class created by
lldbsuite.test.lldbinline.MakeInlineTest, and have the test infrastructure
first check for that and use that attribute if present before falling back to
using the path of the class name.  This probably would also fix what I imagine
is a bug in the output of test issues, as other code in output generation looks
at the test case filename.

-- 
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/20151222/377a5f26/attachment.html>


More information about the lldb-dev mailing list