summaryrefslogtreecommitdiff
path: root/tests/drm_lib.sh
AgeCommit message (Collapse)Author
2014-11-06tests/drm_lib.sh: add a "--help-description" optionThomas Wood
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2014-10-17drm_lib.sh: add standard command line optionsThomas Wood
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2014-07-23lib/drm_lib.sh: Bare-bones long option parsingDaniel Vetter
Just enough to stay compatible with simple subtests. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-07-23tests: Move root check to lib/drm_lib.shDaniel Vetter
All tests want that anyway. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-07-21tests: Basic tools testerBen Widawsky
Requested-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-07-19tests: Allow a shell test to declare it doesn't need to be DRM masterDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-07-18tests: Black list tests we don't want to run on simulationDamien Lespiau
Let's start by a small set of tests, to eventually consider running more. The current list should then be: gem_mmap gem_pread_after_blit gem_ring_sync_loop gem_ctx_basic gem_pipe_control_store_loop gem_storedw_loop_render gem_storedw_loop_blt gem_storedw_loop_bsd gem_render_linear_blits gem_tiled_blits gem_cpu_reloc gem_exec_nop gem_mmap_gtt v2 add (Daniel Vetter) gem_exec_bad_domains gem_exec_faulting_reloc gem_flink gem_reg_read gem_reloc_overflow gem_tiling_max_stride prime_* Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-07-03drm_lib.sh: Be more precise in detecting the i915 /sys pathChris Wilson
We need to be careful in case other devices grow an error file in the future. The first step here is just to check the minor that corresponds with the debugfs path found for the device
2013-07-03tests/hangman: Be lenient towards a non-existent sysfs error stateChris Wilson
As /sys/class/drm/cardX/error is a new interface for 3.11, we need to be quiet when it does not exist or else we upset the automated tests. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66533
2013-07-02tests/drm_lib.sh: Don't die if the sysfs path can't be foundDaniel Vetter
That just means that the sysfs error file isn't there. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-07-02test/drm_lib.sh: Updated sysfs error filenameDaniel Vetter
I've forgotten to bikeshed that part ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-07-01tests: add i915_sfs_pathMika Kuoppala
To access 'error_state' through sysfs. Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-07-01tests: rename debugfs base path to be more specificMika Kuoppala
In preparation to have sysfs entries used in scripts rename to more specific name. Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-04-04tests: use / as path separator instead of _Daniel Vetter
Oops. Originally by me, noticed while reviewing Ben Widawsky's patch. Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-04-04tests: use common code for scriptsBen Widawsky
This removes cut and pasted code and uses a more central source. Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>