[Intel-gfx] [PATCH 6/8] tests: Allow a shell test to declare it doesn't need to be DRM master
Damien Lespiau
damien.lespiau at intel.com
Fri Jul 19 18:49:46 CEST 2013
Signed-off-by: Damien Lespiau <damien.lespiau at 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
More information about the Intel-gfx
mailing list