[Lldb-commits] [PATCH] D52516: [lldbinline] Set directory attribute on test-specific classes

Phabricator via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 25 13:21:46 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL343023: [lldbinline] Set directory attribute on test-specific classes (authored by vedantk, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D52516?vs=166980&id=166984#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D52516

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


Index: lldb/trunk/packages/Python/lldbsuite/test/lldbinline.py
===================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lldbinline.py
+++ lldb/trunk/packages/Python/lldbsuite/test/lldbinline.py
@@ -195,7 +195,6 @@
 
     # Derive the test name from the current file name
     file_basename = os.path.basename(__file)
-    InlineTest.mydir = TestBase.compute_mydir(__file)
 
     test_name, _ = os.path.splitext(file_basename)
 
@@ -209,4 +208,5 @@
     # Keep track of the original test filename so we report it
     # correctly in test results.
     test_class.test_filename = __file
+    test_class.mydir = TestBase.compute_mydir(__file)
     return test_class


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52516.166984.patch
Type: text/x-patch
Size: 720 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180925/76c3fe63/attachment.bin>


More information about the lldb-commits mailing list