Author: Dave Lee
Date: 2023-02-16T21:11:48-08:00
New Revision: 5552c4ddd76de2447a86ab4b99506bd30590d36f

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

LOG: [lldb] Limit TestPoPersistentResult to darwin

Added: 
    

Modified: 
    
lldb/test/API/commands/expression/po_persistent_result/TestPoPersistentResult.py

Removed: 
    


################################################################################
diff  --git 
a/lldb/test/API/commands/expression/po_persistent_result/TestPoPersistentResult.py
 
b/lldb/test/API/commands/expression/po_persistent_result/TestPoPersistentResult.py
index 3c3b863dc7da..4f47e46c8dfe 100644
--- 
a/lldb/test/API/commands/expression/po_persistent_result/TestPoPersistentResult.py
+++ 
b/lldb/test/API/commands/expression/po_persistent_result/TestPoPersistentResult.py
@@ -13,10 +13,12 @@ def setUp(self):
         self.build()
         lldbutil.run_to_source_breakpoint(self, "break here", 
lldb.SBFileSpec("main.m"))
 
+    @skipUnlessDarwin
     def test_po_does_not_print_persistent_result(self):
         """Test `po` doesn't advertise a persistent result variable."""
         self.expect("po obj", matching=False, substrs=["$0 = "])
 
+    @skipUnlessDarwin
     def test_po_does_not_keep_persistent_result(self):
         """Test `po` doesn't leak a persistent result variable."""
         self.expect("po obj")
@@ -25,6 +27,7 @@ def test_po_does_not_keep_persistent_result(self):
         self.expect("expression $0", error=True)
         self.expect("expression obj", substrs=["$0 = "])
 
+    @skipUnlessDarwin
     def test_expression_description_verbosity(self):
         """Test printing object description _and_ opt-in to persistent 
results."""
         self.expect("expression -O -vfull -- obj", substrs=["$0 = "])


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

Reply via email to