]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - packages/Python/lldbsuite/test/help/TestApropos.py
Vendor import of lldb release_39 branch r276489:
[FreeBSD/FreeBSD.git] / packages / Python / lldbsuite / test / help / TestApropos.py
1 """
2 Test some lldb apropos commands.
3 """
4
5 from __future__ import print_function
6
7
8
9 import os, time
10 import lldb
11 from lldbsuite.test.decorators import *
12 from lldbsuite.test.lldbtest import *
13 from lldbsuite.test import lldbutil
14
15 class AproposCommandTestCase(TestBase):
16
17     mydir = TestBase.compute_mydir(__file__)
18
19     @no_debug_info_test
20     def test_apropos_variable(self):
21         """Test that 'apropos variable' prints the fully qualified command name"""
22         self.expect('apropos variable', substrs=['frame variable', 'target variable', 'watchpoint set variable'])