[lldb/Test] Ensure inline tests have a unique build directory
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 11 Jun 2020 16:35:19 +0000 (09:35 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 11 Jun 2020 16:36:54 +0000 (09:36 -0700)
commit5a33ba52b66ceb336b2dd941c9e3f5313a388e63
tree1a4eee79341d7fbe56596031bbe23b69d0de224d
parent4e19ba4159f8e498863cd1edb9ecde175edd1f3a
[lldb/Test] Ensure inline tests have a unique build directory

Inline tests have one method named 'test' which means that multiple
inline tests in the same file end up sharing the same build directory
per variant.

This patch overrides the getBuildDirBasename method for the InlineTest
class to include the test name.

Differential revision: https://reviews.llvm.org/D81516
lldb/packages/Python/lldbsuite/test/lldbinline.py