Signed-off-by: Damien Lespiau <damien.lesp...@intel.com>
---
 tests/drm_lib.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/drm_lib.sh b/tests/drm_lib.sh
index 2532352..25197d4 100755
--- a/tests/drm_lib.sh
+++ b/tests/drm_lib.sh
@@ -26,7 +26,8 @@ fi
 
 # read everything we can
 if [ `cat $i915_dfs_path/clients | wc -l` -gt "2" ] ; then
-       die "ERROR: other drm clients running"
+       [ -n "$DRM_LIB_ALLOW_NO_MASTER" ] || \
+               die "ERROR: other drm clients running"
 fi
 
 i915_sfs_path=
-- 
1.8.3.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to