From ea82f46f305a363e1a9aeb3d9558658372e450cc Mon Sep 17 00:00:00 2001 From: Zequan Wu Date: Mon, 6 Oct 2025 13:25:57 -0700 Subject: [PATCH] [lldb][test] Set configuration.cmake_build_type only if args.cmake_build_type is not None --- 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 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