Skip to content
Commit c2b17907 authored by Peter Newman's avatar Peter Newman Committed by Shuah Khan
Browse files

selftests/resctrl: Use correct exit code when tests fail



Use ksft_finished() after running tests so that resctrl_tests doesn't
return exit code 0 when tests fail.

Consequently, report the MBA and MBM tests as skipped when running on
non-Intel hardware, otherwise resctrl_tests will exit with a failure
code.

Signed-off-by: default avatarPeter Newman <peternewman@google.com>
Reviewed-by: default avatarShaopeng Tan <tan.shaopeng@fujitsu.com>
Tested-by: default avatarShaopeng Tan <tan.shaopeng@fujitsu.com>
Reviewed-by: default avatarReinette Chatre <reinette.chatre@intel.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 266679ff
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment