selftests: timers: Fix run_destructive_tests target to handle skipped tests
authorShuah Khan <shuahkh@osg.samsung.com>
Thu, 17 Aug 2017 22:34:43 +0000 (16:34 -0600)
committerShuah Khan <shuahkh@osg.samsung.com>
Tue, 22 Aug 2017 17:38:28 +0000 (11:38 -0600)
commitdf9c011c0a23cf1399c01f896cd359d932ab49b5
treed2e093daf6c36a815766cbc543bb2c8784056965
parent98b74e1f31045a63f6148b2d129ca9bf244e24ab
selftests: timers: Fix run_destructive_tests target to handle skipped tests

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.

Cc: stable <stable@vger.kernel.org> [4.13+]
Reported-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/timers/Makefile