summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-09-02 12:10:16 +0000
committerRaphael Isemann <teemperor@gmail.com>2019-09-02 12:10:16 +0000
commit9bc338b89ec02cdb87d54ef9d431544c52b7774a (patch)
tree488619f4694848669a530999da876782a7c913f9 /lldb/packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py
parent65d386eac5b2134ecc862a14fb75d9c95151ba89 (diff)
downloadbcm5719-llvm-9bc338b89ec02cdb87d54ef9d431544c52b7774a.tar.gz
bcm5719-llvm-9bc338b89ec02cdb87d54ef9d431544c52b7774a.zip
[lldb][NFC] Add test for invalid gui command
llvm-svn: 370647
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py b/lldb/packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py
new file mode 100644
index 00000000000..92ead9f4fa7
--- /dev/null
+++ b/lldb/packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py
@@ -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."])
OpenPOWER on IntegriCloud