diff options
author | Jim Ingham <jingham@apple.com> | 2022-09-13 14:59:21 -0700 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2022-09-13 14:59:21 -0700 |
commit | ac05bc0524c66c74278b26742896a4c634c034cf (patch) | |
tree | 409b33642bebea14215f9b3bb2f023c04e6a6503 /lldb/packages/Python/lldbsuite/test/lldbtest.py | |
parent | a2d0a01e3f9941d0d5370890105f70da142f493f (diff) | |
download | llvm-ac05bc0524c66c74278b26742896a4c634c034cf.zip llvm-ac05bc0524c66c74278b26742896a4c634c034cf.tar.gz llvm-ac05bc0524c66c74278b26742896a4c634c034cf.tar.bz2 |
Revert "Be more careful to maintain quoting information when parsing commands."
This reverts commit 6c089b2af5d8d98f66b27b67f70958f520820a76.
This was causing the test test_help_run_hides_options from TestHelp.py to
fail on Linux and Windows (but the test succeeds on macOS). The decision
to print option information is determined by CommandObjectAlias::IsDashDashCommand
which was changed, but only by replacing an inline string constant with a const char *
CommandInterpreter::g_argument which has the same string value. I can't see why this
would fail, I'll have to spin up a vm to see if I can repo there.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lldbtest.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py index 5c05876..101921f 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbtest.py +++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py @@ -2472,13 +2472,6 @@ FileCheck output: self.fail(self._formatMessage(msg, "'{}' is not success".format(error))) - """Assert that a command return object is successful""" - def assertCommandReturn(self, obj, msg=None): - if not obj.Succeeded(): - error = obj.GetError() - self.fail(self._formatMessage(msg, - "'{}' is not success".format(error))) - """Assert two states are equal""" def assertState(self, first, second, msg=None): if first != second: |