2 Test multiword commands ('platform' in this case).
6 from lldbsuite.test.decorators import *
7 from lldbsuite.test.lldbtest import *
9 class MultiwordCommandsTestCase(TestBase):
11 mydir = TestBase.compute_mydir(__file__)
14 def test_ambiguous_subcommand(self):
15 self.expect("platform s", error=True,
16 substrs=["ambiguous command 'platform s'. Possible completions:",
22 def test_empty_subcommand(self):
23 self.expect("platform \"\"", error=True, substrs=["Need to specify a non-empty subcommand."])
27 # <multiword> help brings up help.
28 self.expect("platform help",
29 substrs=["Commands to manage and create platforms.",
31 "The following subcommands are supported:",
33 "Select the current platform"])