[Lldb-commits] [lldb] c26e53e - [lldb/test] Disable 'TestScriptedProcess.py' on macOS
Med Ismail Bennani via lldb-commits
lldb-commits at lists.llvm.org
Sat Oct 9 18:30:38 PDT 2021
Author: Med Ismail Bennani
Date: 2021-10-10T03:28:36+02:00
New Revision: c26e53e129085b64f66f0b4cbc5fd4bfdf6575e6
URL: https://github.com/llvm/llvm-project/commit/c26e53e129085b64f66f0b4cbc5fd4bfdf6575e6
DIFF: https://github.com/llvm/llvm-project/commit/c26e53e129085b64f66f0b4cbc5fd4bfdf6575e6.diff
LOG: [lldb/test] Disable 'TestScriptedProcess.py' on macOS
This is disabling 'TestScriptedProcess.py' on macOS since it fails on
Green Dragon: https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/35974
Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>
Added:
Modified:
lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py
Removed:
################################################################################
diff --git a/lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py b/lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py
index 2341aa27e66b0..963ba060f949a 100644
--- a/lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py
+++ b/lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py
@@ -88,6 +88,7 @@ def test_scripted_process_and_scripted_thread(self):
for idx, reg in enumerate(registers, start=1):
self.assertEqual(idx, int(reg.value, 16))
+ @skipIfDarwin
@skipUnlessDarwin
def test_launch_scripted_process_stack_frames(self):
"""Test that we can launch an lldb scripted process from the command
@@ -113,11 +114,6 @@ def test_launch_scripted_process_stack_frames(self):
self.assertEqual(process.GetProcessID(), 42)
self.assertEqual(process.GetNumThreads(), 1)
- error = lldb.SBError()
- hello_world = "Hello, world!"
- memory_read = process.ReadCStringFromMemory(0x50000000000,
- len(hello_world) + 1, # NULL byte
- error)
thread = process.GetSelectedThread()
self.assertTrue(thread, "Invalid thread.")
self.assertEqual(thread.GetThreadID(), 0x19)
More information about the lldb-commits
mailing list