Skip to content

Commit

Permalink
Refine coverage language list
Browse files Browse the repository at this point in the history
  • Loading branch information
ctiller committed Jan 8, 2016
1 parent abf85d9 commit 1690066
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tools/run_tests/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,9 +726,11 @@ def git(cmd, cwd=cwd):
lang_list = _LANGUAGES.keys()
else:
lang_list = args.language
# We don't support code coverage on ObjC
if 'gcov' in args.config and 'objc' in lang_list:
lang_list.remove('objc')
# We don't support code coverage on some languages
if 'gcov' in args.config:
for bad in ['objc', 'sanity', 'build']:
if bad in lang_list:
lang_list.remove(bad)

languages = set(_LANGUAGES[l] for l in lang_list)

Expand Down

0 comments on commit 1690066

Please sign in to comment.