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

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@lists.llvm.org
Reporter todd.fiala@gmail.com
CC llvm-bugs@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.

Todd Fiala changed bug 25922