[Lldb-commits] [lldb] r370647 - [lldb][NFC] Add test for invalid gui command
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 2 05:10:16 PDT 2019
Author: teemperor
Date: Mon Sep 2 05:10:16 2019
New Revision: 370647
URL: http://llvm.org/viewvc/llvm-project?rev=370647&view=rev
Log:
[lldb][NFC] Add test for invalid gui command
Added:
lldb/trunk/packages/Python/lldbsuite/test/commands/gui/invalid-args/
lldb/trunk/packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py
Added: lldb/trunk/packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py?rev=370647&view=auto
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py (added)
+++ lldb/trunk/packages/Python/lldbsuite/test/commands/gui/invalid-args/TestInvalidArgsGui.py Mon Sep 2 05:10:16 2019
@@ -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."])
More information about the lldb-commits
mailing list