[lldb/Reproducers] Skip remaining failing test in python_api subdir
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 26 May 2020 18:22:48 +0000 (11:22 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 26 May 2020 18:23:52 +0000 (11:23 -0700)
Skip the remaining two failing test in the python_api subdirectory. See
inline comments for the reason why.

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

index 5b189b3..2d38043 100644 (file)
@@ -75,6 +75,7 @@ class HelloWorldTestCase(TestBase):
     @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())
index a12f683..ee04968 100644 (file)
@@ -21,6 +21,7 @@ class SBDataAPICase(TestBase):
         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 @@ class SBDataAPICase(TestBase):
         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()