diff options
Diffstat (limited to 'tests/drm_lib.sh')
-rwxr-xr-x | tests/drm_lib.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/drm_lib.sh b/tests/drm_lib.sh index 5ca815b6..25323527 100755 --- a/tests/drm_lib.sh +++ b/tests/drm_lib.sh @@ -37,3 +37,10 @@ if [ -d /sys/class/drm ] ; then fi fi # sysfs may not exist as the 'error' is a new interface in 3.11 + +function drmtest_skip_on_simulation() +{ + [ -n "$INTEL_SIMULATION" ] && exit 77 +} + +drmtest_skip_on_simulation |