diff options
Diffstat (limited to 'tools/code_coverage')
-rwxr-xr-x | tools/code_coverage/coverage_posix.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/code_coverage/coverage_posix.py b/tools/code_coverage/coverage_posix.py index 5eee435..1b83252 100755 --- a/tools/code_coverage/coverage_posix.py +++ b/tools/code_coverage/coverage_posix.py @@ -736,13 +736,11 @@ class Coverage(object): if start_dir.endswith('chrome'): print 'coverage_posix.py: doing a "cd .." to accomodate Linux/make PWD' os.chdir('..') - elif self.IsMac(): - pass - else: - # windows - if start_dir.endswith('build'): + elif start_dir.endswith('build'): print 'coverage_posix.py: doing a "cd src" to accomodate buildbot PWD' os.chdir('src') + elif self.IsMac(): + pass command = [self.mcov, '--directory', |