[Lldb-commits] [lldb] r351902 - Revert "[dotest] Add logging to investigate CI issue."

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 22 16:13:48 PST 2019


Author: jdevlieghere
Date: Tue Jan 22 16:13:47 2019
New Revision: 351902

URL: http://llvm.org/viewvc/llvm-project?rev=351902&view=rev
Log:
Revert "[dotest] Add logging to investigate CI issue."

We figured out the issue so the logging is no longer necessary. It turns
out we were using a session format that was not unique for inline tests.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py?rev=351902&r1=351901&r2=351902&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py Tue Jan 22 16:13:47 2019
@@ -1228,12 +1228,7 @@ class Base(unittest2.TestCase):
                         remove_file(dst)
 
                     lldbutil.mkdir_p(os.path.dirname(dst))
-                    try:
-                        os.rename(src, dst)
-                    except OSError:
-                        print("src (exists={}): {}".format(os.path.exists(src), src))
-                        print("dst (exists={}): {}".format(os.path.exists(dst), dst))
-                        raise
+                    os.rename(src, dst)
         else:
             # success!  (and we don't want log files) delete log files
             for log_file in log_files_for_this_test:




More information about the lldb-commits mailing list