[Lldb-commits] [lldb] [lldb][test] Set configuration.cmake_build_type only if args.cmake_build_type is not None (PR #162153)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 6 13:28:45 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Zequan Wu (ZequanWu)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/162153.diff
1 Files Affected:
- (modified) lldb/packages/Python/lldbsuite/test/dotest.py (+2-1)
``````````diff
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index e30d5490bea22..643077405e2ea 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -300,7 +300,8 @@ def parseOptionsAndInitTestdirs():
configuration.libcxx_include_target_dir = args.libcxx_include_target_dir
configuration.libcxx_library_dir = args.libcxx_library_dir
- 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
``````````
</details>
https://github.com/llvm/llvm-project/pull/162153
More information about the lldb-commits
mailing list