From 90cdb39761981938ba3823faf54dd809eeaf4e9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ce=CC=81dric=20Luthi?= Date: Thu, 26 Jun 2014 15:15:57 +0200 Subject: [PATCH] Exculde `Developer/SDKs` instead of `Applications/Xcode.app` So that exclusion works for any Xcode version, even if is renamed e.g. Xcode6-Beta2.app --- getcov | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getcov b/getcov index dba4e9c..53b3d78 100755 --- a/getcov +++ b/getcov @@ -31,7 +31,7 @@ gather_coverage() exclude_data() { - LCOV --remove ${LCOV_INFO} "Applications/Xcode.app/*" -d "${OBJ_DIR}" -o ${LCOV_INFO} + LCOV --remove ${LCOV_INFO} "Developer/SDKs/*" -d "${OBJ_DIR}" -o ${LCOV_INFO} LCOV --remove ${LCOV_INFO} "main.m" -d "${OBJ_DIR}" -o ${LCOV_INFO} # Remove other patterns here... }