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_kernel.py
Find file BlameHistoryPermalink
  • Will Chen's avatar
    kunit: capture stderr on all make subprocess calls · 5a9fcad7
    Will Chen authored Jul 08, 2020
    Direct stderr to subprocess.STDOUT so error messages get included in the
    subprocess.CalledProcessError exceptions output field. This results in
    more meaningful error messages for the user.
    
    This is already being done in the make_allyesconfig method. Do the same
    for make_mrproper, make_olddefconfig, and make methods.
    
    With this, failures on unclean trees [1] will give users an error
    message that includes:
    "The source tree is not clean, please run 'make ARCH=um mrproper'"
    
    [1] https://bugzilla.kernel.org/show_bug.cgi?id=205219
    
    
    
    Signed-off-by: default avatarWill Chen <chenwi@google.com>
    Reviewed-by: default avatarBrendan Higgins <brendanhiggins@google.com>
    Tested-by: default avatarBrendan Higgins <brendanhiggins@google.com>
    Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
    5a9fcad7
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7