tests: check for other drm clients
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 31 Oct 2011 15:04:34 +0000 (16:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 31 Oct 2011 15:07:02 +0000 (16:07 +0100)
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/Makefile.am

index 3d18f73..04edf7e 100644 (file)
@@ -69,7 +69,8 @@ TESTS = \
        $(NULL)
 
 test:
-       whoami | grep root || ( echo not running as root; exit 1 )
+       whoami | grep root || ( echo ERROR: not running as root; exit 1 )
+       ./check_drm_clients
        make TESTS="${kernel_tests}" check
 
 HANG = \
@@ -79,7 +80,7 @@ HANG = \
        $(NULL)
 
 EXTRA_PROGRAMS = $(TESTS_progs) $(HANG)
-EXTRA_DIST = $(TESTS_scripts)
+EXTRA_DIST = $(TESTS_scripts) check_drm_clients
 CLEANFILES = $(EXTRA_PROGRAMS)
 
 AM_CFLAGS = $(DRM_CFLAGS) $(WARN_CFLAGS) \