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:
Damien Lespiau 2013-07-19 17:01:55 +01:00
parent a7c56938c8
commit 7d9dbd1fed

View File

@ -5,7 +5,10 @@
# 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)
cat $(find /sys/devices/|grep drm | grep /status) > /dev/null