From 5a039d55710f72a474572f08f390e17d8cd37e57 Mon Sep 17 00:00:00 2001 From: Raphael Isemann Date: Mon, 30 Sep 2019 09:00:23 +0000 Subject: [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 --- .../Python/lldbsuite/test/commands/frame/select/TestFrameSelect.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lldb/packages/Python/lldbsuite/test/commands/frame/select/TestFrameSelect.py') 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."]) -- cgit v1.2.3