build: Make grep silent when running make test

-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@intel.com>
This commit is contained in:
Damien Lespiau 2013-03-26 15:14:56 +00:00
parent 7e9fd56873
commit 6a82b68e36

View File

@ -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