[Lldb-commits] [lldb] 329abed - [lldb/Reproducers] Skip test that changes the source file while debugging

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu May 21 20:36:50 PDT 2020


Author: Jonas Devlieghere
Date: 2020-05-21T20:36:39-07:00
New Revision: 329abed10b84ce502a86dfb077710db22f4ddd01

URL: https://github.com/llvm/llvm-project/commit/329abed10b84ce502a86dfb077710db22f4ddd01
DIFF: https://github.com/llvm/llvm-project/commit/329abed10b84ce502a86dfb077710db22f4ddd01.diff

LOG: [lldb/Reproducers] Skip test that changes the source file while debugging

The VFS is a snapshot and cannot capture changes to the file system.

Added: 
    

Modified: 
    lldb/test/API/source-manager/TestSourceManager.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/source-manager/TestSourceManager.py b/lldb/test/API/source-manager/TestSourceManager.py
index 2029bc5ed60d..714b736da02e 100644
--- a/lldb/test/API/source-manager/TestSourceManager.py
+++ b/lldb/test/API/source-manager/TestSourceManager.py
@@ -172,6 +172,7 @@ def test_move_and_then_display_source(self):
                     substrs=['Hello world'])
 
     @skipIf(oslist=["windows"], bugnumber="llvm.org/pr44431")
+    @skipIfReproducer # VFS is a snapshot.
     def test_modify_source_file_while_debugging(self):
         """Modify a source file while debugging the executable."""
         self.build()


        


More information about the lldb-commits mailing list