[Intel-gfx] [PATCH 02/10] build: Make grep silent when running make test

Damien Lespiau damien.lespiau at intel.com
Mon Apr 29 20:15:29 CEST 2013


-q will prevent grep from writing to stdout and print "root" when make
test is running as root.

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
 tests/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 9bc5302..834fb7c 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -143,7 +143,7 @@ TESTS = \
 	$(NULL)
 
 test:
-	@whoami | grep root || ( echo ERROR: not running as root; exit 1 )
+	@whoami | grep -q root || ( echo ERROR: not running as root; exit 1 )
 	@./check_drm_clients
 	@make TESTS="${kernel_tests}" check
 
-- 
1.8.1.4




More information about the Intel-gfx mailing list