mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 17:35:35 +02:00
Bug 487762 - [tests] MIRegistersTests # frameSpecificValues() - fix
platform-dependent failure Change-Id: I7bfe1b952ac97615f93ee63770f33b66a5cb9d3e
This commit is contained in:
parent
9c97d4ae66
commit
8ab12fa4e2
1 changed files with 3 additions and 2 deletions
|
@ -502,8 +502,9 @@ public class MIRegistersTest extends BaseTestCase {
|
|||
MIStoppedEvent stoppedEvent = SyncUtil.step(StepType.STEP_OVER);
|
||||
int depth = SyncUtil.getStackDepth(stoppedEvent.getDMContext());
|
||||
|
||||
// validate expected stack depth
|
||||
assertEquals(4, depth);
|
||||
// we need at least 2 levels of stack frame to continue this test.
|
||||
// note: the depth is glibc-version-dependent
|
||||
assertTrue(depth >= 2);
|
||||
|
||||
// Resolve the register name of the stack pointer
|
||||
String sp_name = resolveStackPointerName();
|
||||
|
|
Loading…
Add table
Reference in a new issue