From 1d4e766fa2dccc62c0b35ebf904aebb8eae8540b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 10 Jun 2016 13:33:52 +0100 Subject: [PATCH] src/Makefile: silence grep Otherwise it prints misleading errors: grep: jit/vmdef.lua: No such file or directory grep: program/lisper/dev-env/syscall.lua: No such file or directory grep: program/lisper/dev-env-docker/syscall.lua: No such file or directory grep: jit/vmdef.lua: No such file or directory grep: program/lisper/dev-env/syscall.lua: No such file or directory grep: program/lisper/dev-env-docker/syscall.lua: No such file or directory grep: jit/vmdef.lua: No such file or directory grep: program/lisper/dev-env/syscall.lua: No such file or directory grep: program/lisper/dev-env-docker/syscall.lua: No such file or directory grep: jit/vmdef.lua: No such file or directory grep: program/lisper/dev-env/syscall.lua: No such file or directory grep: program/lisper/dev-env-docker/syscall.lua: No such file or directory --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 610186ce0b..467b88e9eb 100644 --- a/src/Makefile +++ b/src/Makefile @@ -39,7 +39,7 @@ EXE := bin/snabb $(patsubst %,bin/%,$(PROGRAM)) # core.memory core.lib ... # for each module that has a top-level selftest () function. TESTMODS = $(shell find . -regex '[^\#]*\.lua' -printf '%P ' | \ - xargs grep -l '^function selftest *[[:punct:]]' | \ + xargs grep -s -l '^function selftest *[[:punct:]]' | \ sed -e 's_\.lua__' -e 's_/_._g') # TESTSCRIPTS expands to: