mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
tests: add testcase to check igt runtime enviroment
Now that we've abandonded the autohell testrunner, need to port this over. Easiest is to just add another testcase ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
f0546374a0
commit
d798ab9c2a
@ -104,6 +104,7 @@ TESTS_scripts_M = \
|
||||
$(NULL)
|
||||
|
||||
TESTS_scripts = \
|
||||
test_rte_check
|
||||
debugfs_reader \
|
||||
debugfs_emon_crash \
|
||||
sysfs_l3_parity \
|
||||
|
8
tests/test_rte_check
Executable file
8
tests/test_rte_check
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
whoami | grep root || ( echo ERROR: not running as root; exit 1 )
|
||||
|
||||
SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )"
|
||||
. $SOURCE_DIR/drm_lib.sh
|
||||
|
||||
exit 0
|
Loading…
x
Reference in New Issue
Block a user