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

Unified Diff: tools/valgrind/valgrind_test.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/valgrind/tsan_analyze.py ('k') | tools/win/supalink/check_installed.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/valgrind/valgrind_test.py
diff --git a/tools/valgrind/valgrind_test.py b/tools/valgrind/valgrind_test.py
old mode 100755
new mode 100644
index bdc65571c8347626e2486613c0f4cde17a653de4..920df3fb0a50bb90811ce399ce13e3e8ff957f0e
--- a/tools/valgrind/valgrind_test.py
+++ b/tools/valgrind/valgrind_test.py
@@ -1,10 +1,7 @@
-#!/usr/bin/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.
-# valgrind_test.py
-
"""Runs an exe through Valgrind and puts the intermediate files in a
directory.
"""
@@ -1189,7 +1186,3 @@ class ToolFactory:
def CreateTool(tool):
return ToolFactory().Create(tool)
-
-if __name__ == '__main__':
- logging.error(sys.argv[0] + " can not be run from command line")
- sys.exit(1)
« no previous file with comments | « tools/valgrind/tsan_analyze.py ('k') | tools/win/supalink/check_installed.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698