diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2011-07-13 00:31:31 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2011-07-13 00:31:31 +0000 |
| commit | 0d0dff43983bc9be0ccdeb1eedaa4e63eafa4c30 (patch) | |
| tree | 386347d74efb079510f024ace55df927b54db946 /lldb/test/functionalities/target_command/TestTargetCommand.py | |
| parent | 0402e8fe4b455e84d5c0573a1ee3ab1fb161f54c (diff) | |
Add display of a static int variable to the test scenario.
llvm-svn: 135016
Diffstat (limited to 'lldb/test/functionalities/target_command/TestTargetCommand.py')
| -rw-r--r-- | lldb/test/functionalities/target_command/TestTargetCommand.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/test/functionalities/target_command/TestTargetCommand.py b/lldb/test/functionalities/target_command/TestTargetCommand.py index 7b2648c6df12..afcf5ee56811 100644 --- a/lldb/test/functionalities/target_command/TestTargetCommand.py +++ b/lldb/test/functionalities/target_command/TestTargetCommand.py @@ -107,6 +107,8 @@ class targetCommandTestCase(TestBase): substrs = ["my_global_char", "'X'"]) self.expect("target variable my_global_str", VARIABLES_DISPLAYED_CORRECTLY, substrs = ['my_global_str', '"abc"']) + self.expect("target variable my_static_int", VARIABLES_DISPLAYED_CORRECTLY, + substrs = ['my_static_int', '228']) self.runCmd("run") @@ -116,6 +118,8 @@ class targetCommandTestCase(TestBase): substrs = ["my_global_char", "'X'"]) self.expect("target variable my_global_str", VARIABLES_DISPLAYED_CORRECTLY, substrs = ['my_global_str', '"abc"']) + self.expect("target variable my_static_int", VARIABLES_DISPLAYED_CORRECTLY, + substrs = ['my_static_int', '228']) if __name__ == '__main__': |
