From 62c1e272fcd69eaca2713f7722dd2af7e0b4d7b2 Mon Sep 17 00:00:00 2001
From: Sergey Yakubov <sergey.yakubov@desy.de>
Date: Fri, 4 Jun 2021 20:12:35 +0200
Subject: [PATCH] broker cov

---
 CMakeModules/coverage_go.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeModules/coverage_go.sh b/CMakeModules/coverage_go.sh
index 5b01cf48b..5b74a2005 100755
--- a/CMakeModules/coverage_go.sh
+++ b/CMakeModules/coverage_go.sh
@@ -15,7 +15,7 @@ for pkg in ${PACKAGES[@]}
 do
 #	echo $pkg
 	go test -coverprofile=$OUT_DIR/coverage.out -tags test $pkg #>/dev/null 2>&1
-	tail -n +2 $OUT_DIR/coverage.out | grep -v kubernetes >> $OUT_DIR/coverage-all.out #2>/dev/null
+	tail -n +2 $OUT_DIR/coverage.out | grep -v -e kubernetes -e _nottested >> $OUT_DIR/coverage-all.out #2>/dev/null
 done
 
 coverage=`go tool cover -func=$OUT_DIR/coverage-all.out | grep total | cut -d ")" -f 2 | cut -d "." -f 1`
-- 
GitLab