blob: 4c5577a787a93d81a3bfc60b376b1d84480ca65c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
# Test some of the most critical tools we have accidentally broken before.
# TODO: Possibly make tests parse output
whoami | grep -q root || ( echo ERROR: not running as root; exit 1 )
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
|