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

Unified Diff: third_party/py_vulcanize/run_py_tests

Issue 1422623008: Move py_vulcanize/run_py_tests and make it disabled by default. (Closed) Base URL: git@github.com:catapult-project/catapult.git@master
Patch Set: Created 5 years, 2 months 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 | « third_party/py_vulcanize/bin/run_py_tests ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/py_vulcanize/run_py_tests
diff --git a/third_party/py_vulcanize/run_py_tests b/third_party/py_vulcanize/run_py_tests
deleted file mode 100755
index 41dc9d3beb5053b3fc079e36f1d4d4750966522c..0000000000000000000000000000000000000000
--- a/third_party/py_vulcanize/run_py_tests
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/usr/bin/env python
-# Copyright 2015 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.
-
-import os
-import sys
-
-_CATAPULT = os.path.abspath(
- os.path.join(os.path.dirname(__file__), os.path.pardir, os.path.pardir))
-
-
-def _AddToPathIfNeeded(path):
- if path not in sys.path:
- sys.path.insert(0, path)
-
-
-if __name__ == '__main__':
- _AddToPathIfNeeded(_CATAPULT)
-
- from hooks import install
- if '--no-install-hooks' in sys.argv:
- sys.argv.remove('--no-install-hooks')
- else:
- install.InstallHooks()
-
- from catapult_build import run_with_typ
- sys.exit(run_with_typ.Run(
- os.path.join(_CATAPULT, 'third_party', 'py_vulcanize')))
-
« no previous file with comments | « third_party/py_vulcanize/bin/run_py_tests ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698