mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 02:16:17 +00:00
tests: Source drm_lib.sh instead of having its own INTEL_SIMULATION test
One code path to maintain is always better. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
parent
a7c56938c8
commit
7d9dbd1fed
@ -5,7 +5,10 @@
|
|||||||
# we sometimes take a *really* long time. So let's just check for some reasonable timing here
|
# we sometimes take a *really* long time. So let's just check for some reasonable timing here
|
||||||
#
|
#
|
||||||
|
|
||||||
[ -n "$INTEL_SIMULATION" ] && exit 77
|
DRM_LIB_ALLOW_NO_MASTER=1
|
||||||
|
|
||||||
|
SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )"
|
||||||
|
. $SOURCE_DIR/drm_lib.sh
|
||||||
|
|
||||||
TIME1=$(date +%s%N)
|
TIME1=$(date +%s%N)
|
||||||
cat $(find /sys/devices/|grep drm | grep /status) > /dev/null
|
cat $(find /sys/devices/|grep drm | grep /status) > /dev/null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user