From f3fbd1c0586ff6ec7895991e6c28f61a503c36a8 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 23 Jul 2016 20:50:09 +0000 Subject: Vendor import of lldb release_39 branch r276489: https://llvm.org/svn/llvm-project/lldb/branches/release_39@276489 --- packages/Python/lldbsuite/test/help/TestApropos.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 packages/Python/lldbsuite/test/help/TestApropos.py (limited to 'packages/Python/lldbsuite/test/help/TestApropos.py') diff --git a/packages/Python/lldbsuite/test/help/TestApropos.py b/packages/Python/lldbsuite/test/help/TestApropos.py new file mode 100644 index 000000000000..7b2e69938a0e --- /dev/null +++ b/packages/Python/lldbsuite/test/help/TestApropos.py @@ -0,0 +1,22 @@ +""" +Test some lldb apropos commands. +""" + +from __future__ import print_function + + + +import os, time +import lldb +from lldbsuite.test.decorators import * +from lldbsuite.test.lldbtest import * +from lldbsuite.test import lldbutil + +class AproposCommandTestCase(TestBase): + + mydir = TestBase.compute_mydir(__file__) + + @no_debug_info_test + def test_apropos_variable(self): + """Test that 'apropos variable' prints the fully qualified command name""" + self.expect('apropos variable', substrs=['frame variable', 'target variable', 'watchpoint set variable']) -- cgit v1.2.3