[Lldb-commits] [PATCH] D81516: [lldb/Test] Ensure inline tests have a unique build directory

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 10 09:17:45 PDT 2020


JDevlieghere updated this revision to Diff 269871.
JDevlieghere added a comment.

Implement Pavel's approach


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81516/new/

https://reviews.llvm.org/D81516

Files:
  lldb/packages/Python/lldbsuite/test/lldbinline.py


Index: lldb/packages/Python/lldbsuite/test/lldbinline.py
===================================================================
--- lldb/packages/Python/lldbsuite/test/lldbinline.py
+++ lldb/packages/Python/lldbsuite/test/lldbinline.py
@@ -82,6 +82,11 @@
 
 
 class InlineTest(TestBase):
+    # Overrides
+
+    def getBuildDirBasename(self):
+        return self.__class__.__name__ + "." + self.testMethodName
+
     # Internal implementation
 
     def BuildMakefile(self):


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81516.269871.patch
Type: text/x-patch
Size: 473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200610/920991c5/attachment.bin>


More information about the lldb-commits mailing list