[Lldb-commits] [PATCH] D51874: Fix buildbot regression by rL339929: NameError: global name 'test_directory' is not defined

Jan Kratochvil via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 3 14:44:39 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rLLDB343726: Fix buildbot regression by rL339929: NameError: global name 'test_directory' is… (authored by jankratochvil, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D51874?vs=164709&id=168179#toc

Repository:
  rLLDB LLDB

https://reviews.llvm.org/D51874

Files:
  packages/Python/lldbsuite/test/dosep.py


Index: packages/Python/lldbsuite/test/dosep.py
===================================================================
--- packages/Python/lldbsuite/test/dosep.py
+++ packages/Python/lldbsuite/test/dosep.py
@@ -1689,7 +1689,7 @@
     # move core files into session dir
     cores = find('core.*', test_subdir)
     for core in cores:
-        dst = core.replace(test_directory, "")[1:]
+        dst = core.replace(test_subdir, "")[1:]
         dst = dst.replace(os.path.sep, "-")
         os.rename(core, os.path.join(session_dir, dst))
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51874.168179.patch
Type: text/x-patch
Size: 535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20181003/c893569d/attachment.bin>


More information about the lldb-commits mailing list