Author: Muhammad Omair Javaid
Date: 2021-06-24T22:19:51Z
New Revision: 3b4aad1186e8e8e6f6c7887cb5e8d9bfd7d3ce2f

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

LOG: Fix typo in TestMemoryTag.py

TestMemoryTag.py should fail if underlying target doesnt support MTE.

Differential Revision: https://reviews.llvm.org/D97285

Added: 
    

Modified: 
    lldb/test/API/functionalities/memory/tag/TestMemoryTag.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/memory/tag/TestMemoryTag.py 
b/lldb/test/API/functionalities/memory/tag/TestMemoryTag.py
index 608845600c125..04bc4cc4b6a65 100644
--- a/lldb/test/API/functionalities/memory/tag/TestMemoryTag.py
+++ b/lldb/test/API/functionalities/memory/tag/TestMemoryTag.py
@@ -18,7 +18,7 @@ class MemoryTagTestCase(TestBase):
 
     def test_memory_tag_read_unsupported(self):
         """Test that "memory tag read" errors on unsupported platforms"""
-        if self.isAArch64MTE():
+        if not self.isAArch64MTE():
             self.skipTest("Requires a target without AArch64 MTE.")
 
         self.build()


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

Reply via email to