1. 26 Jan, 2016 1 commit
  2. 08 Jan, 2016 1 commit
  3. 04 Dec, 2015 1 commit
    • Daniel Vetter's avatar
      lib/kms+tests: Use cached connector state · db4f83ca
      Daniel Vetter authored
      Speeds up testcases except for those where we want to exercise the
      probing itself. The only exceptions left where we do a full probe are
      
      - pm_rpm: We use it to make sure the kernel doesn't get things wrong
        with power domains, so we really want to exercise the full probe
        paths. And there the only place really is the specific validation
        done with the data gathered by get_drm_info.
      
      - kmstest_force_ functions: Newer kernels should be better at
        re-probing state when the force sysfs fields change, but better safe
        than sorry.
      
      v2: I also consolidated the start_n_modes and start_connectors while
      at it - move one of the fixup hunks to this patch that accidentally
      got misplaced (Thomas).
      
      Cc: Thomas Wood <thomas.wood@intel.com>
      Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@intel.com>
      db4f83ca
  4. 11 Nov, 2015 1 commit
  5. 12 Oct, 2015 1 commit
  6. 09 Oct, 2015 2 commits
  7. 25 Sep, 2015 1 commit
  8. 11 Sep, 2015 1 commit
  9. 21 Aug, 2015 1 commit
  10. 14 Apr, 2015 2 commits
  11. 02 Apr, 2015 1 commit
    • Joonas Lahtinen's avatar
      tests: install test programs to libexec · a95033fd
      Joonas Lahtinen authored
      Install the test programs by default so that they can be packaged.
      
      Tested with the testdisplay test so that it still runs after the
      modifications as it depends on a data file to be present. Need to
      pass -r option to enable QR code display on success (PNG data file).
      
      Packaging is useful when building a complete software stack for a
      DUT from scratch. This should bring us closer to achieving a
      built-from-scratch testing workflow.
      
      Package maintainers can always decide to ignore the installed files.
      
      v2:
      - Install more tests including scripts and their data
      
      v3:
      - Add clarification to commit message about why we do this.
        (Chris Wilson & Thomas Wood)
      - Change libexec into pkglibexec to comply to standard
        (Thomas Wood)
      - Do not install $(common_files). (Thomas Wood)
      - Make it really obvious the installed files are tests by using
        tests directory name to avoid any confusion with packagers.
      
      v4:
      - Fixed commit message.
      
      v5:
      - Add file locator helper to retain backwards compatibility.
        (Thomas Wood)
      - Test with testdisplay -r option that draws the .png file.
      
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Thomas Wood <thomas.wood@intel.com>
      Signed-off-by: Joonas Lahtinen's avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Signed-off-by: default avatarThomas Wood <thomas.wood@intel.com>
      a95033fd
  12. 12 Mar, 2015 2 commits
  13. 06 Mar, 2015 1 commit
  14. 06 Nov, 2014 3 commits
  15. 29 Oct, 2014 1 commit
  16. 02 Oct, 2014 1 commit
  17. 05 Sep, 2014 1 commit
  18. 21 Aug, 2014 1 commit
  19. 12 Aug, 2014 2 commits
  20. 31 Jul, 2014 1 commit
  21. 30 Jul, 2014 1 commit
  22. 29 Jul, 2014 1 commit
  23. 25 Jul, 2014 1 commit
  24. 13 Jun, 2014 2 commits
  25. 12 May, 2014 1 commit
    • Imre Deak's avatar
      testdisplay: fix restoring termio at exit · 63746417
      Imre Deak authored
      At normal exit in test_all_modes we don't restore the original termio,
      since g_io_channel_shutdown() closes the stdin fd and so the following
      tcsetattr on stdin will fail. We also don't restore the termio at signal
      exit. Fix both cases by installing an exit hanlder with a dup'ed stdin fd.
      Signed-off-by: Imre Deak's avatarImre Deak <imre.deak@intel.com>
      63746417
  26. 30 Apr, 2014 1 commit
  27. 26 Mar, 2014 5 commits
  28. 22 Mar, 2014 2 commits