mirror of https://github.com/ARMmbed/mbed-os.git
added check for running out of steps
parent
f548de17ea
commit
8cfe61d949
|
@ -340,6 +340,10 @@ public:
|
||||||
|
|
||||||
_step++;
|
_step++;
|
||||||
|
|
||||||
|
if (_step == MAX_STEP) {
|
||||||
|
TEST_FAIL_MESSAGE("internal test failure - too many steps");
|
||||||
|
}
|
||||||
|
|
||||||
execute_next_step();
|
execute_next_step();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue