summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/gpio
diff options
context:
space:
mode:
authorShuah Khan (Samsung OSG) <shuah@kernel.org>2018-05-03 16:34:22 -0600
committerShuah Khan (Samsung OSG) <shuah@kernel.org>2018-05-30 15:21:52 -0600
commita6a9be9270c871b22725c34de35a21d918867672 (patch)
tree741482531745194d467871f7076da24f7dbf61f0 /tools/testing/selftests/gpio
parent7357dcf2ef2811156fdf223a9a27f73528934e1f (diff)
downloadblackbird-op-linux-a6a9be9270c871b22725c34de35a21d918867672.tar.gz
blackbird-op-linux-a6a9be9270c871b22725c34de35a21d918867672.zip
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>
Diffstat (limited to 'tools/testing/selftests/gpio')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud