[Lldb-commits] [lldb] [lldb] Fix dotest.py --help (PR #216131)

Dave Lee via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 13 10:48:24 PDT 2026


https://github.com/kastiglione created https://github.com/llvm/llvm-project/pull/216131

None

>From 1879b3f23aec9b94f927c2671c36beaaf01399af Mon Sep 17 00:00:00 2001
From: Dave Lee <davelee.com at gmail.com>
Date: Thu, 13 Aug 2026 10:47:42 -0700
Subject: [PATCH] [lldb] Fix dotest.py --help

---
 lldb/packages/Python/lldbsuite/test/dotest.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index 6555c60dc3bff..dec46c7715e40 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -316,7 +316,8 @@ def parseOptionsAndInitTestdirs():
         configuration.libcxx_include_target_dir = None
         configuration.libcxx_library_dir = None
 
-    configuration.cmake_build_type = args.cmake_build_type.lower()
+    if args.cmake_build_type:
+        configuration.cmake_build_type = args.cmake_build_type.lower()
 
     if args.channels:
         lldbtest_config.channels = args.channels



More information about the lldb-commits mailing list