Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2551)

Unified Diff: base/test/test_support_ios.mm

Issue 2789433004: Add tools for code coverage support in iOS. (Closed)
Patch Set: Nits Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/config/ios/BUILD.gn » ('j') | build/secondary/testing/gtest/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_support_ios.mm
diff --git a/base/test/test_support_ios.mm b/base/test/test_support_ios.mm
index d7e99908eaf857b3240cc22aca57eec0dda5d26b..03c7631ff204e184b4334aa868b25322fa40844e 100644
--- a/base/test/test_support_ios.mm
+++ b/base/test/test_support_ios.mm
@@ -152,6 +152,8 @@ static char** g_argv;
}
- (void)runTests {
+ coverage_util::ConfigureCoverageReportPath();
+
int exitStatus = g_test_suite->Run();
if ([self shouldRedirectOutputToFile])
@@ -169,8 +171,6 @@ static char** g_argv;
UIApplication* application = [UIApplication sharedApplication];
[application _terminateWithStatus:exitStatus];
- coverage_util::FlushCoverageDataIfNecessary();
-
exit(exitStatus);
}
« no previous file with comments | « no previous file | build/config/ios/BUILD.gn » ('j') | build/secondary/testing/gtest/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698