[Lldb-commits] [lldb] [lldb-dap] Add a new lldb-dap test infrastructure (PR #203978)
Ebuka Ezike via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 18 06:07:56 PDT 2026
================
@@ -0,0 +1,209 @@
+import logging
+import os
+from pathlib import Path
+from typing import Any, Final, Optional, TypeVar, Union, cast
+
+from lldbsuite.test.lldbtest import Base, LLDBTestCaseFactory, is_exe
+
+from .dap_types import AnyResponse, ErrorResponse, Response
+from .session_helpers import DAPTestSession
+from .utils import DebugAdapter, DebugAdapterOptions
+
+
+def strtobool(val: str) -> bool:
+ """Convert a string representation of truth to a bool following LLVM's CLI argument parsing."""
+
+ val = val.lower()
+ if val in {"false", "0", "no", "off"}:
+ return False
+ return True
----------------
da-viper wrote:
Yes
https://github.com/llvm/llvm-project/pull/203978
More information about the lldb-commits
mailing list