summaryrefslogtreecommitdiffstats
path: root/fs/fs_context.c
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2023-12-15 17:05:11 +0200
committerShuah Khan <skhan@linuxfoundation.org>2024-02-13 13:56:45 -0700
commitc603ff5bb830b8c22dae56ca3ca5ceb5c103525b (patch)
tree3a2d7d5fdf66f2b9c91272196d6a474413545f71 /fs/fs_context.c
parent15f298821289d3efba87bb34db29d0ba9780a443 (diff)
downloadlinux-c603ff5bb830b8c22dae56ca3ca5ceb5c103525b.tar.gz
linux-c603ff5bb830b8c22dae56ca3ca5ceb5c103525b.tar.bz2
linux-c603ff5bb830b8c22dae56ca3ca5ceb5c103525b.zip
selftests/resctrl: Introduce generalized test framework
Each test currently has a "run test" function in per test file and another resctrl_tests.c. The functions in resctrl_tests.c are almost identical. Generalize the one in resctrl_tests.c such that it can be shared between all of the tests. It makes adding new tests easier and removes the per test if () forests. Also add comment to CPU vendor IDs that they must be defined as bits for a bitmask. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'fs/fs_context.c')
0 files changed, 0 insertions, 0 deletions