Message ID | cover.1708949785.git.maciej.wieczor-retman@intel.com (mailing list archive) |
---|---|
Headers | show |
Series | selftests/resctrl: Simplify test cleanup functions | expand |
Hi Maciej, On 2/26/2024 5:05 AM, Maciej Wieczor-Retman wrote: > Cleaning up after tests is implemented separately for individual tests > and called at the end of each test execution. Since these functions are > very similar and a more generalized test framework was introduced a > function pointer in the resctrl_test struct can be used to reduce the > amount of function calls. > > These functions are also all called in the ctrl-c handler because the > handler isn't aware which test is currently running. Since the handler > is implemented with a sigaction no function parameters can be passed > there but information about what test is currently running can be passed > with a global variable. > > Series applies cleanly on top of kselftests/next. Could you please rebase again? This series does not apply cleanly when I tested with latest kselftest/next at ae638551ab64 ("selftests/resctrl: Add non-contiguous CBMs CAT test") With this addressed, for the whole series: Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Thank you very much. Reinette