From 94b3832a465fc5fe4c86900824faf975a690b74c Mon Sep 17 00:00:00 2001 From: Laurent Perron Date: Thu, 29 Jun 2017 11:21:49 +0200 Subject: [PATCH] filter out tests from generated makefiles --- tools/generate_deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/generate_deps.sh b/tools/generate_deps.sh index db61bb8f60f..1dfa766ef08 100755 --- a/tools/generate_deps.sh +++ b/tools/generate_deps.sh @@ -1,7 +1,7 @@ main_dir=$2 # List all files on ortools/$main_dir -all_cc=`ls ortools/$main_dir/*.cc` +all_cc=`ls ortools/$main_dir/*.cc | grep -v test.cc` all_h=`ls ortools/$main_dir/*.h` if ls ortools/$main_dir/*proto 1> /dev/null 2>&1; then all_proto=`ls ortools/$main_dir/*.proto`