From f45f2f4faf803de6bb7ced5ceb402bd97d11ad36 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Mon, 12 Jun 2017 17:40:14 +0200 Subject: [PATCH] only create coverage for ltm build --- coverage.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/coverage.sh b/coverage.sh index 6686b44..d582f92 100755 --- a/coverage.sh +++ b/coverage.sh @@ -17,6 +17,11 @@ if [ -z "$(echo $CC | grep "gcc")" ]; then exit 0 fi +if [ "$(echo $2 | grep -v 'makefile[.]')" == "" ]; then + echo "only run coverage for the regular makefile, early exit success" + exit 0 +fi + # output version bash printinfo.sh