[Clang] Prevent `mlink-builtin-bitcode` from internalizing the RPC client (#118661)
[llvm-project.git] / lldb / test / API / commands / expression / calculator_mode / TestCalculatorMode.py
blob138027507c7a7260f6090dbc90e826d523141175
1 """
2 Test calling an expression without a target.
3 """
6 import lldb
7 from lldbsuite.test.decorators import *
8 from lldbsuite.test.lldbtest import *
9 from lldbsuite.test import lldbutil
12 class TestCalculatorMode(TestBase):
13 NO_DEBUG_INFO_TESTCASE = True
15 def test__calculator_mode(self):
16 """Test calling expressions in the dummy target."""
17 self.expect(
18 "expression 11 + 22",
19 "11 + 22 didn't get the expected result",
20 substrs=["33"],
22 # Now try it with a specific language:
23 self.expect(
24 "expression -l c -- 11 + 22",
25 "11 + 22 didn't get the expected result",
26 substrs=["33"],