summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-07-19 17:01:55 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2013-07-19 18:40:25 +0100
commit7d9dbd1fed62a9c22a616110db105ec7cf76c871 (patch)
treeec2565453078b2f7ee15bade5ba70158648acfe5
parenta7c56938c84eb25d8cf95caa125c7bf09e72dc1c (diff)
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>
-rwxr-xr-xtests/sysfs_edid_timing5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/sysfs_edid_timing b/tests/sysfs_edid_timing
index 2a43cca4..e90e374f 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