Skip to content
Snippets Groups Projects

Improve submit by adding some stats and beautify diff

Merged Gert Wollny requested to merge improve-submit into master
1 unresolved thread
  • Print out the summary of changes directly from running "upload"
  • Add a summary to the diff output
  • Make diff output a bit simpler to read

Specifically:

deqp_submit.py upload now prints changes stat at the end of a run, e.g.

Change stats:
    Fail -> Pass:4
    Incomplete -> Pass:7
    Pass -> Fail:1

deqp_submit.py diff does no longer go through a git commit git diff git reset cycle, the output is simplified to make it more readable, i.e. it is now

 testname oldState -> newState

When printed to a terminal the output is colored, and when piping, e.g. to grep the color escape codes are not printed to make grep work properly. To filter the result for the current changed outcome (e.g. Pass)

deqp_submit.py diff .... | grep Pass$
Edited by Gert Wollny

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Gert Wollny added 1 commit

    added 1 commit

    • 93950d89 - deqp_submit: Add stats output to upload and beautify diff

    Compare with previous version

  • Thanks, merged!

  • Please register or sign in to reply
    Loading