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
You need to sign in or sign up before continuing.
  • linux
  • tools
  • testing
  • kunit
  • kunit.py
Find file BlameHistoryPermalink
  • Heidi Fahim's avatar
    kunit: run kunit_tool from any directory · be886ba9
    Heidi Fahim authored Feb 18, 2020
    
    
    Implemented small fix so that the script changes work directories to the
    root of the linux kernel source tree from which kunit.py is run. This
    enables the user to run kunit from any working directory. Originally
    considered using os.path.join but this is more error prone as we would
    have to find all file path usages and modify them accordingly. Using
    os.chdir ensures that the entire script is run within /linux.
    
    Signed-off-by: default avatarHeidi Fahim <heidifahim@google.com>
    Reviewed-by: default avatarBrendan Higgins <brendanhiggins@google.com>
    Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
    be886ba9
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7