[Intel-gfx] [PATCH 7/8] tests: Source drm_lib.sh instead of having its own INTEL_SIMULATION test
Damien Lespiau
damien.lespiau at intel.com
Fri Jul 19 18:49:47 CEST 2013
One code path to maintain is always better.
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
tests/sysfs_edid_timing | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/sysfs_edid_timing b/tests/sysfs_edid_timing
index 2a43cca..e90e374 100755
--- a/tests/sysfs_edid_timing
+++ b/tests/sysfs_edid_timing
@@ -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
--
1.8.3.1
More information about the Intel-gfx
mailing list