[Lldb-commits] [lldb] 8d31dd2 - [lldb/Reproducers] Skip remaining failing test in python_api subdir

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue May 26 11:23:58 PDT 2020


Author: Jonas Devlieghere
Date: 2020-05-26T11:23:52-07:00
New Revision: 8d31dd23ec2368d00b0668c3d01b1fd2ce4d621b

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

LOG: [lldb/Reproducers] Skip remaining failing test in python_api subdir

Skip the remaining two failing test in the python_api subdirectory. See
inline comments for the reason why.

Added: 
    

Modified: 
    lldb/test/API/python_api/hello_world/TestHelloWorld.py
    lldb/test/API/python_api/sbdata/TestSBData.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/python_api/hello_world/TestHelloWorld.py b/lldb/test/API/python_api/hello_world/TestHelloWorld.py
index 5b189b36d7f9..2d38043bb450 100644
--- a/lldb/test/API/python_api/hello_world/TestHelloWorld.py
+++ b/lldb/test/API/python_api/hello_world/TestHelloWorld.py
@@ -75,6 +75,7 @@ def test_with_process_launch_api(self):
     @add_test_categories(['pyapi'])
     @skipIfiOSSimulator
     @expectedFailureNetBSD
+    @skipIfReproducer # File synchronization is not supported during replay.
     def test_with_attach_to_process_with_id_api(self):
         """Create target, spawn a process, and attach to it with process id."""
         exe = '%s_%d'%(self.testMethodName, os.getpid())

diff  --git a/lldb/test/API/python_api/sbdata/TestSBData.py b/lldb/test/API/python_api/sbdata/TestSBData.py
index a12f683d6013..ee0496804241 100644
--- a/lldb/test/API/python_api/sbdata/TestSBData.py
+++ b/lldb/test/API/python_api/sbdata/TestSBData.py
@@ -21,6 +21,7 @@ def setUp(self):
         self.line = line_number('main.cpp', '// set breakpoint here')
 
     @add_test_categories(['pyapi'])
+    @skipIfReproducer # SBData::SetData is not instrumented.
     def test_byte_order_and_address_byte_size(self):
         """Test the SBData::SetData() to ensure the byte order and address
         byte size are obeyed"""
@@ -41,6 +42,7 @@ def test_byte_order_and_address_byte_size(self):
         self.assertTrue(addr == 0x8877665544332211);
 
     @add_test_categories(['pyapi'])
+    @skipIfReproducer # SBData::SetData is not instrumented.
     def test_with_run_command(self):
         """Test the SBData APIs."""
         self.build()


        


More information about the lldb-commits mailing list