Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: tools/heapcheck/suppressions.py

Issue 8678023: Fix python scripts in src/tools/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/heapcheck/heapcheck_test.py ('k') | tools/include_tracer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/heapcheck/suppressions.py
diff --git a/tools/heapcheck/suppressions.py b/tools/heapcheck/suppressions.py
old mode 100644
new mode 100755
index 91c523816819e29d458a3ca7d0f002a2fb9a3496..506caa670f8d15ae506b89194782953a8b476351
--- a/tools/heapcheck/suppressions.py
+++ b/tools/heapcheck/suppressions.py
@@ -1,10 +1,8 @@
-#!/usr/bin/python
-# Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
+#!/usr/bin/env python
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# suppressions.py
-
"""Valgrind-style suppressions for heapchecker reports.
Suppressions are defined as follows:
@@ -167,5 +165,6 @@ def MatchTest():
assert not re_chars.Match(['foobar'])
print 'PASS'
+
if __name__ == '__main__':
MatchTest()
« no previous file with comments | « tools/heapcheck/heapcheck_test.py ('k') | tools/include_tracer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698