summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/apropos/TestApropos.py
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-08-21 14:22:59 +0000
committerRaphael Isemann <teemperor@gmail.com>2019-08-21 14:22:59 +0000
commit717717b1ff8b6ee48331a86feaf2f68b28b6c9d8 (patch)
tree32cd8cdae4f0c35e0f882437f1f2cbc527a3f85c /lldb/packages/Python/lldbsuite/test/functionalities/apropos/TestApropos.py
parented413074f2064f41bf2e27f3f35a8fda3e7ffdc8 (diff)
downloadbcm5719-llvm-717717b1ff8b6ee48331a86feaf2f68b28b6c9d8.tar.gz
bcm5719-llvm-717717b1ff8b6ee48331a86feaf2f68b28b6c9d8.zip
[lldb][NFC] Merge multiple TestApropos.py
That's cleaner and makes lldb-dotest no longer fail due to conflicting names. llvm-svn: 369530
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/apropos/TestApropos.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/apropos/TestApropos.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/apropos/TestApropos.py b/lldb/packages/Python/lldbsuite/test/functionalities/apropos/TestApropos.py
index f84477159d4..c4337c7301f 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/apropos/TestApropos.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/apropos/TestApropos.py
@@ -17,3 +17,13 @@ class AproposTestCase(TestBase):
substrs=[' must be called with exactly one argument'])
self.expect("apropos ''", error=True,
substrs=['\'\' is not a valid search word'])
+
+ @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'])
OpenPOWER on IntegriCloud