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))
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))
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits