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
  • include
  • kunit
  • assert.h
Find file BlameHistoryPermalink
  • Eric Chan's avatar
    kunit: Rename KUNIT_ASSERT_FAILURE to KUNIT_FAIL_AND_ABORT for readability · 7d4087b0
    Eric Chan authored Jul 11, 2024
    
    
    Both KUNIT_FAIL and KUNIT_ASSERT_FAILURE defined to KUNIT_FAIL_ASSERTION
    with different tpye of kunit_assert_type. The current naming of
    KUNIT_ASSERT_FAILURE and KUNIT_FAIL_ASSERTION is confusing due to their
    similarities. To improve readability and symmetry, renames
    KUNIT_ASSERT_FAILURE to KUNIT_FAIL_AND_ABORT. Makes the naming
    consistent, with KUNIT_FAIL and KUNIT_FAIL_AND_ABORT being symmetrical.
    Additionally, an explanation for KUNIT_FAIL_AND_ABORT has been added to
    clarify its usage.
    
    Signed-off-by: default avatarEric Chan <ericchancf@google.com>
    Reviewed-by: default avatarDavid Gow <davidgow@google.com>
    Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
    7d4087b0
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7