2 Test calling an expression without a target.
8 from lldbsuite.test.decorators import *
9 from lldbsuite.test.lldbtest import *
10 from lldbsuite.test import lldbutil
13 class TestCalculatorMode(TestBase):
15 mydir = TestBase.compute_mydir(__file__)
16 NO_DEBUG_INFO_TESTCASE = True
18 def test__calculator_mode(self):
19 """Test calling expressions in the dummy target."""
20 self.expect("expression 11 + 22", "11 + 22 didn't get the expected result", substrs=["33"])
21 # Now try it with a specific language:
22 self.expect("expression -l c -- 11 + 22", "11 + 22 didn't get the expected result", substrs=["33"])