linux/tools/testing/selftests/firmware
Shuah Khan (Samsung OSG) a6a9be9270 selftests: firmware: return Kselftest Skip code for skipped tests
When firmware test(s) get skipped because of unmet dependencies and/or
unsupported configuration, it returns 0 which is treated as a pass
by the Kselftest framework. This leads to false positive result even
when the test could not be run.

Change it to return kselftest skip code when a test gets skipped to
clearly report that the test could not be run.

Kselftest framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.

Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Reviewed-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
2018-05-30 15:21:52 -06:00
..
config test_firmware: enable custom fallback testing on limited kernel configs 2018-03-14 19:49:24 +01:00
fw_fallback.sh selftests: firmware: return Kselftest Skip code for skipped tests 2018-05-30 15:21:52 -06:00
fw_filesystem.sh selftests: firmware: return Kselftest Skip code for skipped tests 2018-05-30 15:21:52 -06:00
fw_lib.sh selftests: firmware: return Kselftest Skip code for skipped tests 2018-05-30 15:21:52 -06:00
fw_run_tests.sh selftests:firmware: fixes a call to a wrong function name 2018-04-25 17:27:09 +02:00
Makefile test_firmware: Install all scripts 2018-04-23 13:03:25 +02:00