summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/commands
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-09-30 09:00:23 +0000
committerRaphael Isemann <teemperor@gmail.com>2019-09-30 09:00:23 +0000
commit5a039d55710f72a474572f08f390e17d8cd37e57 (patch)
treee8472d4241c83269cf99aab0885214e53b58c7ff /lldb/packages/Python/lldbsuite/test/commands
parente7714fe7bff811785eeac2b7627ca4293565aa65 (diff)
downloadbcm5719-llvm-5a039d55710f72a474572f08f390e17d8cd37e57.tar.gz
bcm5719-llvm-5a039d55710f72a474572f08f390e17d8cd37e57.zip
[lldb] Partly revert 370734: Test 'frame select -r' and fix that INT32_MIN breaks the option parser
This somehow caused that 'frame select X' ends up being interpreted as 'frame select -r 1' when 'up' or 'down' were run before 'frame select X'. See rdar://55791276. Partly reverting to unbreak master. The changes that aren't reverted are the generic 'frame select -r' tests that are obviously NFC and test existing behavior. llvm-svn: 373194
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands')
-rw-r--r--lldb/packages/Python/lldbsuite/test/commands/frame/select/TestFrameSelect.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/commands/frame/select/TestFrameSelect.py b/lldb/packages/Python/lldbsuite/test/commands/frame/select/TestFrameSelect.py
index c6b665ee941..6746aafe07f 100644
--- a/lldb/packages/Python/lldbsuite/test/commands/frame/select/TestFrameSelect.py
+++ b/lldb/packages/Python/lldbsuite/test/commands/frame/select/TestFrameSelect.py
@@ -23,16 +23,12 @@ class TestFrameSelect(TestBase):
self.expect("frame select -r -1", error=True, substrs=["Already at the bottom of the stack."])
self.expect("frame select -r -2147483647", error=True, substrs=["Already at the bottom of the stack."])
- self.expect("frame select -r -2147483648", error=True, substrs=["error: invalid frame offset argument '-2147483648'"])
- self.expect("frame select -r -2147483649", error=True, substrs=["error: invalid frame offset argument '-2147483649'"])
self.expect("frame select -r 1", substrs=["nested2() at"])
self.expect("frame select -r -2", substrs=["nested3() at"])
self.expect("frame select -r 1", substrs=["nested2() at"])
self.expect("frame select -r -2147483647", substrs=["nested3() at"])
self.expect("frame select -r 1", substrs=["nested2() at"])
- self.expect("frame select -r -2147483648", error=True, substrs=["error: invalid frame offset argument '-2147483648'"])
- self.expect("frame select -r -2147483649", error=True, substrs=["error: invalid frame offset argument '-2147483649'"])
self.expect("frame select -r 100")
self.expect("frame select -r 1", error=True, substrs=["Already at the top of the stack."])
OpenPOWER on IntegriCloud