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

Side by Side Diff: testing/coverage_util_ios.cc

Issue 375033002: Flush gcda (code coverage) files manually in iOS Platform Test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Corrected ifdef guards Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « testing/coverage_util_ios.h ('k') | testing/gtest.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 extern "C" void __gcov_flush();
6
7 namespace coverage_util {
8
9 void FlushCoverageDataIfNecessary() {
10 #if defined(ENABLE_TEST_CODE_COVERAGE) && defined(OS_IOS)
stuartmorgan 2014/07/09 18:24:11 No need for defined(OS_IOS) in an _ios file.
Eugene But (OOO till 7-30) 2014/07/09 18:29:48 Done.
11 __gcov_flush();
12 #endif
13 }
14
15 } // namespace coverage_util
OLDNEW
« no previous file with comments | « testing/coverage_util_ios.h ('k') | testing/gtest.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698