aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--GTM.xcodeproj/project.pbxproj16
1 files changed, 16 insertions, 0 deletions
diff --git a/GTM.xcodeproj/project.pbxproj b/GTM.xcodeproj/project.pbxproj
index 83cb77f..ca7d88d 100644
--- a/GTM.xcodeproj/project.pbxproj
+++ b/GTM.xcodeproj/project.pbxproj
@@ -1185,6 +1185,7 @@
F42E08690D199A5B00D5DDE0 /* Resources */,
F42E086A0D199A5B00D5DDE0 /* Sources */,
F42E086B0D199A5B00D5DDE0 /* Frameworks */,
+ F4D9A60D0F6B6E3000BB52C5 /* Clean gcov data */,
);
buildRules = (
);
@@ -1344,6 +1345,21 @@
shellPath = /bin/sh;
shellScript = "# Nuke coverage data earch run\nexport GTM_REMOVE_GCOV_DATA=1\n# Run the unit tests in this test bundle.\n\"${SRCROOT}/UnitTesting/RunMacOSUnitTests.sh\"\n";
};
+ F4D9A60D0F6B6E3000BB52C5 /* Clean gcov data */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Clean gcov data";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "# Since the unittests link the framework, we just nuke any gcda's each time\n# we build to be sure we get coverage data for the unittesting runs.\n\nOBJ_FILE_DIR_VAR=\"${OBJECT_FILE_DIR}-${CURRENT_VARIANT}\"\nif [ ${OBJ_FILE_DIR_VAR} != \"-\" ]; then\n if [ -d ${OBJ_FILE_DIR_VAR} ]; then\n (cd ${OBJ_FILE_DIR_VAR} && \\\n find . -type f -name \"*.gcda\" -print0 | xargs -0 rm -f )\n fi\nfi\n";
+ showEnvVarsInLog = 0;
+ };
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */