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 5f7ca5f1af2f9958c440a9bb2511b97e6658c927..cb3a492ff77366977c640a9f1c0c107a8e6fd5ba |
--- 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. |
""" |
@@ -1148,7 +1145,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) |