You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make the test exit if runtime has been exhausted before we finished the
requested amount of iterations.
For that to happen we let the main test process to loop while checking
the runtime and set the stop flag if runtime was exhausted. We also need
to separate the stop and fail flag and add counter for finished children.
Also if we exhaust our runtime during the initial fork phase we print a
warning, since we hardly did a meaningful testing in that case.
The changes can be tested with -I parameter, e.g. -I 5 should trigger
the TWARN message and you should be able to get the test to stop in the
message sending phase with larger -I value.
Link: https://lore.kernel.org/ltp/[email protected]/
Reviewed-by: Martin Doucha <[email protected]>
Reviewed-by: Petr Vorel <[email protected]>
Signed-off-by: Cyril Hrubis <[email protected]>
0 commit comments