selftests: timers: Fix run_destructive_tests target to handle skipped tests

commit df9c011c0a upstream.

When a test exits with skip exit code of 4, "make run_destructive_tests"
halts testing. Fix run_destructive_tests target to handle error exit codes.

Reported-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Shuah Khan 2017-08-17 16:34:43 -06:00 • committed by Greg Kroah-Hartman
commit 860da008a6