ntel-gpu-tools/tests/tools_test
Daniel Vetter 91f536dc42 tests: Move root check to lib/drm_lib.sh
All tests want that anyway.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-07-23 21:03:07 +02:00

17 lines
377 B
Bash
Executable File

#!/bin/bash
# Test some of the most critical tools we have accidentally broken before.
# TODO: Possibly make tests parse output
SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )"
. $SOURCE_DIR/drm_lib.sh
# ARB_MODE has existed for many gens
do_or_die "$SOURCE_DIR/../tools/intel_reg_read 0x4030"
do_or_die "$SOURCE_DIR/../tools/intel_reg_dumper"
# TODO: Add more tests
exit 0