mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 05:43:02 +00:00
tests: Basic tools tester
Requested-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
@@ -4,6 +4,10 @@ die() {
|
||||
exit 1
|
||||
}
|
||||
|
||||
do_or_die() {
|
||||
$@ > /dev/null 2>&1 || (echo "FAIL: $@ ($?)" && exit -1)
|
||||
}
|
||||
|
||||
if [ -d /debug/dri ] ; then
|
||||
debugfs_path=/debug/dri
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user