Index: tools/code_coverage/coverage_posix.py |
=================================================================== |
--- tools/code_coverage/coverage_posix.py (revision 89310) |
+++ tools/code_coverage/coverage_posix.py (working copy) |
@@ -547,7 +547,7 @@ |
return sys.platform == 'darwin' |
def IsLinux(self): |
- return sys.platform == 'linux2' |
+ return sys.platform.startswith('linux') |
def IsWindows(self): |
"""Return True if we are Windows.""" |