1. 27 Nov, 2018 13 commits
  2. 26 Nov, 2018 4 commits
  3. 23 Nov, 2018 1 commit
  4. 22 Nov, 2018 1 commit
  5. 21 Nov, 2018 1 commit
  6. 20 Nov, 2018 5 commits
  7. 19 Nov, 2018 2 commits
  8. 17 Nov, 2018 1 commit
  9. 16 Nov, 2018 2 commits
  10. 15 Nov, 2018 1 commit
    • Petri Latvala's avatar
      runner: Implement --abort-on-monitored-error · 111593c4
      Petri Latvala authored
      Deviating a bit from the piglit command line flag, igt_runner takes an
      optional comma-separated list as an argument to
      --abort-on-monitored-error for the list of conditions to abort
      on. Without a list all possible conditions will be checked.
      Two conditions implemented:
       - "taint" checks the kernel taint level for TAINT_PAGE, TAINT_DIE and
       - "lockdep" checks the kernel lockdep status
      Checking is done after every test binary execution, and if an abort
      condition is met, the reason is printed to stderr (unless log level is
      quiet) and the runner doesn't execute any further tests. Aborting
      between subtests (when running in --multiple-mode) is not done.
       - Remember to fclose
       - Taints are unsigned long (Chris)
       - Use getline instead of fgets (Chris)
       - Fix brainfart with lockdep
       - Rebase
       - Refactor the abort condition checking to pass down strings
       - Present the abort result in results.json as a pseudo test result
       - Unit tests for the pseudo result
       - Refactors (Chris)
       - Don't claim lockdep was triggered if debug_locks is not on
         anymore. Just say it's not active.
       - Dump lockdep_stats when aborting due to lockdep (Chris)
       - Use igt@runner@aborted instead for the pseudo result (Martin)
       - If aborting after a test, generate results.json. Like was already
         done for aborting at startup.
       - Print the test that would be executed next as well when aborting,
         as requested by Tomi.
       - Remove the resolved TODO item from commit message
      Signed-off-by: Petri Latvala's avatarPetri Latvala <petri.latvala@intel.com>
      Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
      Cc: Tomi Sarvela <tomi.p.sarvela@intel.com>
      Cc: Martin Peres <martin.peres@linux.intel.com>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
  11. 08 Nov, 2018 9 commits