[Lldb-commits] [lldb] [lldb][Windows] Fixed the test TestGdbRemoteMemoryTagging (PR #92077)

2024-05-14 Thread David Spickett via lldb-commits

https://github.com/DavidSpickett closed 
https://github.com/llvm/llvm-project/pull/92077
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


[Lldb-commits] [lldb] [lldb][Windows] Fixed the test TestGdbRemoteMemoryTagging (PR #92077)

2024-05-14 Thread David Spickett via lldb-commits

https://github.com/DavidSpickett approved this pull request.


https://github.com/llvm/llvm-project/pull/92077
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


[Lldb-commits] [lldb] [lldb][Windows] Fixed the test TestGdbRemoteMemoryTagging (PR #92077)

2024-05-14 Thread via lldb-commits

llvmbot wrote:




@llvm/pr-subscribers-lldb

Author: Dmitry Vasilyev (slydiman)


Changes

Windows path is case insensitive. Tests `test_QMemTags_packets` and 
`test_qMemTags_packets` will use the same build dir and conflict. Added a 
suffix to resolve conflicts.

---
Full diff: https://github.com/llvm/llvm-project/pull/92077.diff


1 Files Affected:

- (modified) 
lldb/test/API/tools/lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py 
(+2-2) 


``diff
diff --git 
a/lldb/test/API/tools/lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py 
b/lldb/test/API/tools/lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py
index 584de5e2ef49e..e14c7b4a39d58 100644
--- 
a/lldb/test/API/tools/lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py
+++ 
b/lldb/test/API/tools/lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py
@@ -84,7 +84,7 @@ def prep_memtags_test(self):
 @skipUnlessArch("aarch64")
 @skipUnlessPlatform(["linux"])
 @skipUnlessAArch64MTELinuxCompiler
-def test_qMemTags_packets(self):
+def test_qMemTags_packets_A(self):
 """Test that qMemTags packets are parsed correctly and/or rejected."""
 buf_address, page_size = self.prep_memtags_test()
 
@@ -154,7 +154,7 @@ def check_tag_write(self, body, expected):
 @skipUnlessArch("aarch64")
 @skipUnlessPlatform(["linux"])
 @skipUnlessAArch64MTELinuxCompiler
-def test_QMemTags_packets(self):
+def test_QMemTags_packets_B(self):
 """Test that QMemTags packets are parsed correctly and/or rejected."""
 buf_address, page_size = self.prep_memtags_test()
 

``




https://github.com/llvm/llvm-project/pull/92077
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


[Lldb-commits] [lldb] [lldb][Windows] Fixed the test TestGdbRemoteMemoryTagging (PR #92077)

2024-05-14 Thread Dmitry Vasilyev via lldb-commits

https://github.com/slydiman created 
https://github.com/llvm/llvm-project/pull/92077

Windows path is case insensitive. Tests `test_QMemTags_packets` and 
`test_qMemTags_packets` will use the same build dir and conflict. Added a 
suffix to resolve conflicts.

>From 2b75da41ef3a0056375d01d45954d0ef033414c4 Mon Sep 17 00:00:00 2001
From: Dmitry Vasilyev 
Date: Tue, 14 May 2024 11:51:12 +0400
Subject: [PATCH] [lldb][Windows] Fixed the test TestGdbRemoteMemoryTagging

Windows path is case insensitive. Tests `test_QMemTags_packets` and 
`test_qMemTags_packets` will use the same build dir and conflict. Added a 
suffix to resolve conflicts.
---
 .../lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/lldb/test/API/tools/lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py 
b/lldb/test/API/tools/lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py
index 584de5e2ef49e..e14c7b4a39d58 100644
--- 
a/lldb/test/API/tools/lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py
+++ 
b/lldb/test/API/tools/lldb-server/memory-tagging/TestGdbRemoteMemoryTagging.py
@@ -84,7 +84,7 @@ def prep_memtags_test(self):
 @skipUnlessArch("aarch64")
 @skipUnlessPlatform(["linux"])
 @skipUnlessAArch64MTELinuxCompiler
-def test_qMemTags_packets(self):
+def test_qMemTags_packets_A(self):
 """Test that qMemTags packets are parsed correctly and/or rejected."""
 buf_address, page_size = self.prep_memtags_test()
 
@@ -154,7 +154,7 @@ def check_tag_write(self, body, expected):
 @skipUnlessArch("aarch64")
 @skipUnlessPlatform(["linux"])
 @skipUnlessAArch64MTELinuxCompiler
-def test_QMemTags_packets(self):
+def test_QMemTags_packets_B(self):
 """Test that QMemTags packets are parsed correctly and/or rejected."""
 buf_address, page_size = self.prep_memtags_test()
 

___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits