Chromium Code Reviews| Index: tools/heapcheck/chrome_tests.py |
| =================================================================== |
| --- tools/heapcheck/chrome_tests.py (revision 89310) |
| +++ tools/heapcheck/chrome_tests.py (working copy) |
| @@ -457,7 +457,7 @@ |
| if __name__ == "__main__": |
| - if sys.platform == 'linux2': |
| + if sys.platform.startswith('linux'): |
| ret = _main(sys.argv) |
| else: |
| logging.error("Heap checking works only on Linux at the moment.") |