diff options
author | Peter Newman <peternewman@google.com> | 2023-03-09 17:57:57 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-04-13 20:33:00 +0300 |
commit | c2b1790747a518f81071b44f31375d668e5b4b03 (patch) | |
tree | d060a8693afe4d6d91f7b8c750b82cf12188d491 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 266679ffd867cb247c36717ea4d7998e9304823b (diff) | |
download | linux-c2b1790747a518f81071b44f31375d668e5b4b03.tar.xz |
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: Peter Newman <peternewman@google.com>
Reviewed-by: Shaopeng Tan <tan.shaopeng@fujitsu.com>
Tested-by: Shaopeng Tan <tan.shaopeng@fujitsu.com>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions