diff options
author | Shaopeng Tan <tan.shaopeng@jp.fujitsu.com> | 2023-04-13 10:22:59 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-04-13 20:34:29 +0300 |
commit | 91db4fd9019a08251a500157cf0d88de457e1a96 (patch) | |
tree | 7f45f9023528ca3359ccbd99e1876fa705e48120 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 73c55fa5ab5539d38561b0d816be1315c8bf6752 (diff) | |
download | linux-91db4fd9019a08251a500157cf0d88de457e1a96.tar.xz |
selftests/resctrl: Remove duplicate codes that clear each test result file
Before exiting each test function(run_cmt/cat/mbm/mba_test()),
test results("ok","not ok") are printed by ksft_test_result() and then
temporary result files are cleaned by function
cmt/cat/mbm/mba_test_cleanup().
However, before running ksft_test_result(),
function cmt/cat/mbm/mba_test_cleanup()
has been run in each test function as follows:
cmt_resctrl_val()
cat_perf_miss_val()
mba_schemata_change()
mbm_bw_change()
Remove duplicate codes that clear each test result file,
while ensuring cleanup properly even when errors occur in each test.
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions