From 8d31dd23ec2368d00b0668c3d01b1fd2ce4d621b Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Tue, 26 May 2020 11:22:48 -0700 Subject: [PATCH] [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. --- lldb/test/API/python_api/hello_world/TestHelloWorld.py | 1 + lldb/test/API/python_api/sbdata/TestSBData.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/lldb/test/API/python_api/hello_world/TestHelloWorld.py b/lldb/test/API/python_api/hello_world/TestHelloWorld.py index 5b189b3..2d38043 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 @@ 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()) diff --git a/lldb/test/API/python_api/sbdata/TestSBData.py b/lldb/test/API/python_api/sbdata/TestSBData.py index a12f683..ee04968 100644 --- a/lldb/test/API/python_api/sbdata/TestSBData.py +++ b/lldb/test/API/python_api/sbdata/TestSBData.py @@ -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() -- 2.7.4