summaryrefslogtreecommitdiff
path: root/tests/tools_test
blob: a27fb873b029294d33e9312df71ef0c1549701e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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
PATH=$SOURCE_DIR/../tools:$PATH
do_or_die "intel_reg read 0x4030"
do_or_die "intel_reg dump"

# TODO: Add more tests

exit $IGT_EXIT_SUCCESS