2 Tests that bool types work
5 from lldbsuite
.test
.lldbtest
import *
6 import lldbsuite
.test
.lldbutil
as lldbutil
9 class CPPBoolTestCase(TestBase
):
10 def test_with_run_command(self
):
11 """Test that bool types work in the expression parser"""
13 lldbutil
.run_to_source_breakpoint(
14 self
, "// breakpoint 1", lldb
.SBFileSpec("main.cpp")
18 "bool second_bool = my_bool; second_bool",
22 self
.expect_expr("my_bool = true", result_type
="bool", result_value
="true")