From: Omar Sandoval Date: Fri, 19 May 2017 17:28:48 +0000 (-0700) Subject: Don't skip all devices if device_requires fails on one X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=85fb679c400db6698e7a98df1d2a0bc8f68f3715;p=users%2Fsagi%2Fblktests.git Don't skip all devices if device_requires fails on one Fixes #2. Signed-off-by: Omar Sandoval --- diff --git a/check b/check index 26c5189..d445959 100755 --- a/check +++ b/check @@ -395,7 +395,7 @@ _run_test() { TEST_DEV_SYSFS="${TEST_DEV_SYSFS_DIRS["$TEST_DEV"]}" if declare -fF device_requires >/dev/null && ! device_requires; then _output_notrun "$TEST_NAME => $(basename "$TEST_DEV")" - return 0 + continue fi RESULTS_DIR="results/$(basename "$TEST_DEV")" if ! _call_test test_device; then