[Lldb-commits] [lldb] a1bbba0 - [lldb][test][Windows] Fix NonStop tests on case insensitive file systems

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 27 01:34:57 PST 2024


Author: David Spickett
Date: 2024-02-27T09:34:42Z
New Revision: a1bbba06eabc5ddf533e611d15fddcfd0a8e79db

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

LOG: [lldb][test][Windows] Fix NonStop tests on case insensitive file systems

On a case insensitive file sytem, the build dir for `test_multiple_c` and
`test_multiple_C` are the same and therefore the log files are in the same
place. This means one tries to clear the log file for the other.

To fix this, make the names unique by adding the meaning of each
protocol packet.

https://sourceware.org/gdb/current/onlinedocs/gdb.html/Packets.html#Packets

Added: 
    

Modified: 
    lldb/test/API/tools/lldb-server/TestNonStop.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/tools/lldb-server/TestNonStop.py b/lldb/test/API/tools/lldb-server/TestNonStop.py
index b2d13614772217..62bda48ee049be 100644
--- a/lldb/test/API/tools/lldb-server/TestNonStop.py
+++ b/lldb/test/API/tools/lldb-server/TestNonStop.py
@@ -220,15 +220,15 @@ def multiple_resume_test(self, second_command):
         self.expect_gdbremote_sequence()
 
     @add_test_categories(["llgs"])
-    def test_multiple_C(self):
+    def test_multiple_C_continue_with_signal(self):
         self.multiple_resume_test("C05")
 
     @add_test_categories(["llgs"])
-    def test_multiple_c(self):
+    def test_multiple_c_continue_with_addr(self):
         self.multiple_resume_test("c")
 
     @add_test_categories(["llgs"])
-    def test_multiple_s(self):
+    def test_multiple_s_single_step_with_addr(self):
         self.multiple_resume_test("s")
 
     @skipIfWindows


        


More information about the lldb-commits mailing list