added check for running out of steps

pull/7822/head
paul-szczepanek-arm 2018-08-22 10:03:52 +01:00 committed by Donatien Garnier
parent f548de17ea
commit 8cfe61d949
1 changed files with 4 additions and 0 deletions

View File

@ -340,6 +340,10 @@ public:
_step++;
if (_step == MAX_STEP) {
TEST_FAIL_MESSAGE("internal test failure - too many steps");
}
execute_next_step();
}