Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • tools
  • testing
  • selftests
  • resctrl
  • resctrl.h
Find file BlameHistoryPermalink
  • Maciej Wieczor-Retman's avatar
    selftests/resctrl: Move cleanups out of individual tests · 6cd36898
    Maciej Wieczor-Retman authored Feb 27, 2024
    
    
    Every test calls its cleanup function at the end of it's test function.
    After the cleanup function pointer is added to the test framework this
    can be simplified to executing the callback function at the end of the
    generic test running function.
    
    Make test cleanup functions static and call them from the end of
    run_single_test() from the resctrl_test's cleanup function pointer.
    
    Signed-off-by: default avatarMaciej Wieczor-Retman <maciej.wieczor-retman@intel.com>
    Reviewed-by: default avatarReinette Chatre <reinette.chatre@intel.com>
    Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
    6cd36898
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7