Browse Source

only create coverage for ltm build

Steffen Jaeckel 8 years ago
parent
commit
f45f2f4faf
1 changed files with 5 additions and 0 deletions
  1. 5 0
      coverage.sh

+ 5 - 0
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