diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2012-05-26 00:32:39 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2012-05-26 00:32:39 +0000 |
| commit | ca7835c685ca98909666ae8094737163a6f8734b (patch) | |
| tree | 318e3c0f06e664b3930c3bc4c56ac392480a08a4 /lldb/test/help/TestHelp.py | |
| parent | de22182b339a8746221ab09f67f1b39b5912e109 (diff) | |
| download | bcm5719-llvm-ca7835c685ca98909666ae8094737163a6f8734b.tar.gz bcm5719-llvm-ca7835c685ca98909666ae8094737163a6f8734b.zip | |
rdar://problem/11535045
Make 'help arch' return the list of supported architectures.
Add a convenience method StringList::Join(const char *separator) which is called from the help function for 'arch'.
Also add a simple test case.
llvm-svn: 157507
Diffstat (limited to 'lldb/test/help/TestHelp.py')
| -rw-r--r-- | lldb/test/help/TestHelp.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/test/help/TestHelp.py b/lldb/test/help/TestHelp.py index 6ad976ceb81..736a92f1f82 100644 --- a/lldb/test/help/TestHelp.py +++ b/lldb/test/help/TestHelp.py @@ -65,6 +65,11 @@ class HelpCommandTestCase(TestBase): return None + def test_help_arch(self): + """Test 'help arch' which should list of supported architectures.""" + self.expect("help arch", + substrs = ['arm', 'x86_64', 'i386']) + def test_help_version(self): """Test 'help version' and 'version' commands.""" self.expect("help version", |

