1. 20 Feb, 2019 2 commits
  2. 15 Feb, 2019 5 commits
  3. 11 Feb, 2019 1 commit
  4. 29 Jan, 2019 1 commit
  5. 25 Jul, 2018 1 commit
  6. 21 Dec, 2017 1 commit
  7. 08 Dec, 2017 1 commit
  8. 29 Nov, 2017 1 commit
  9. 02 Oct, 2017 1 commit
  10. 08 Sep, 2017 3 commits
  11. 14 Aug, 2017 1 commit
  12. 07 Jun, 2017 1 commit
  13. 20 Apr, 2017 1 commit
  14. 01 Sep, 2016 2 commits
  15. 04 Aug, 2016 1 commit
  16. 19 Mar, 2016 3 commits
    • Chris Wilson's avatar
      lib/igt_aux: Divert ioctls for signal injection · d5456108
      Chris Wilson authored
      To simplify and speed up running interruptible tests, use a custom
      ioctl() function that control the signaling and detect when we need no
      more iterations to trigger an interruption.
      
      We use a realtime timer to inject the signal after a certain delay,
      increasing the delay on every loop to try and exercise different code
      paths within the function. The first delay is very short such that we
      hopefully enter the kernel with a pending signal.
      
      Clients should use
      
      struct igt_sigiter iter = {};
      while (igt_sigiter_repeat(&iter, enable_interrupts=true))
      	do_test()
      
      to automatically repeat the test until we can inject no more signals
      into the ioctls. This is condensed into a macro
      
      igt_interruptible(enable_interrupts=true)
      	do_test();
      
      for convenience.
      Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
      d5456108
    • Daniel Vetter's avatar
      lib/tests: More igt_subtest_group checks · 4e4f5b4f
      Daniel Vetter authored
      ... for some cases discussed with Chris on irc. We seem to get them all
      right.
      Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      4e4f5b4f
    • Daniel Vetter's avatar
      lib: Add igt_subtest_group · 72d04b84
      Daniel Vetter authored
      Useful for creating common setup code in igt_fixture which is only
      needed by a subset of tests. And since I'm a good citizen it comes
      with a library testcase/example included.
      
      v2: Make testcase nastier to ensure a subtest group SKIPS when it's
      parent is skipping already. I accidentally got this right, but let's
      make sure.
      Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      72d04b84
  17. 08 Mar, 2016 1 commit
  18. 03 Nov, 2015 1 commit
  19. 24 Sep, 2015 1 commit
  20. 13 Aug, 2015 1 commit
    • Derek Morton's avatar
      benckmarks/Android.mk: Fix building benchmarks for Android · d524a964
      Derek Morton authored
      The commit "benchmarks: Do not install to system-wide bin/" changed
      the benchmark file list from bin_PROGRAMS to benchmarks_PROGRAMS.
      However Android.mk was not updated, resulting in IGT failing to
      build for Android.
      This commit adds that change. It also adds LOCAL_MODULE_PATH to
      specify where the built benchmarks should be put.
      
      v2: I discovered that the existing definitions of LOCAL_MODULE_PATH
      were creating what should have been an invalid path. Not sure how it
      was ever working previously, but fixed now.
      Signed-off-by: default avatarDerek Morton <derek.j.morton@intel.com>
      Signed-off-by: default avatarThomas Wood <thomas.wood@intel.com>
      d524a964
  21. 12 Aug, 2015 1 commit
  22. 19 Jul, 2015 1 commit
  23. 02 Jul, 2015 1 commit
  24. 27 Jun, 2015 7 commits