[lldb][NFC] Add test for invalid gui command

llvm-svn: 370647
This commit is contained in:
Raphael Isemann 2019-09-02 12:10:16 +00:00
parent 65d386eac5
commit 9bc338b89e
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
import lldb
from lldbsuite.test.lldbtest import *
from lldbsuite.test.decorators import *
class GuiTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
def setUp(self):
TestBase.setUp(self)
@no_debug_info_test
def test_reproducer_generate_invalid_invocation(self):
self.expect("gui blub", error=True,
substrs=["the gui command takes no arguments."])