summaryrefslogtreecommitdiffstats
path: root/tools/code_coverage
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-21 21:24:53 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-21 21:24:53 +0000
commite7720636346c2ca60d7dbd6769fd22e289f80ada (patch)
treebc14b85fbbbb5e72599fa2e81083fdf6a28f3ee9 /tools/code_coverage
parent83d1d571d3eca7d64a03365b803dabfb89407cf5 (diff)
downloadchromium_src-e7720636346c2ca60d7dbd6769fd22e289f80ada.zip
chromium_src-e7720636346c2ca60d7dbd6769fd22e289f80ada.tar.gz
chromium_src-e7720636346c2ca60d7dbd6769fd22e289f80ada.tar.bz2
Disable another choking/forking test.
http://buildbot.jail.google.com/buildbot/waterfall.fyi/builders/Mac%20Coverage%20(dbg)/builds/6765/steps/Run%20Coverage%20Bundles/logs/stdio Also fix paths for Mac (r54844 fixed it for windows but broke Mac) Review URL: http://codereview.chromium.org/3416017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60107 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/code_coverage')
-rwxr-xr-xtools/code_coverage/coverage_posix.py14
1 files changed, 10 insertions, 4 deletions
diff --git a/tools/code_coverage/coverage_posix.py b/tools/code_coverage/coverage_posix.py
index d28eca2..5eee435 100755
--- a/tools/code_coverage/coverage_posix.py
+++ b/tools/code_coverage/coverage_posix.py
@@ -123,9 +123,11 @@ gChildPIDs = []
Details:
ProcessUtilTest.SpawnChild: chokes in __gcov_fork on 10.6
+ IPCFuzzingTest.MsgBadPayloadArgs: ditto
"""
gTestExclusions = {
- 'darwin2': { 'base_unittests': ('ProcessUtilTest.SpawnChild',) }
+ 'darwin2': { 'base_unittests': ('ProcessUtilTest.SpawnChild',),
+ 'ipc_tests': ('IPCFuzzingTest.MsgBadPayloadArgs',), }
}
@@ -734,9 +736,13 @@ class Coverage(object):
if start_dir.endswith('chrome'):
print 'coverage_posix.py: doing a "cd .." to accomodate Linux/make PWD'
os.chdir('..')
- if start_dir.endswith('build'):
- print 'coverage_posix.py: doing a "cd src" to accomodate buildbot PWD'
- os.chdir('src')
+ elif self.IsMac():
+ pass
+ else:
+ # windows
+ if start_dir.endswith('build'):
+ print 'coverage_posix.py: doing a "cd src" to accomodate buildbot PWD'
+ os.chdir('src')
command = [self.mcov,
'--directory',