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

Unified Diff: third_party/py_vulcanize/run_py_tests

Issue 1376953005: Move tracing/third_party/tvcm -> third_party/py_vulcanize. (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
Index: third_party/py_vulcanize/run_py_tests
diff --git a/tracing/third_party/tvcm/run_py_tests b/third_party/py_vulcanize/run_py_tests
similarity index 61%
rename from tracing/third_party/tvcm/run_py_tests
rename to third_party/py_vulcanize/run_py_tests
index d3580712bc28412cddf8a04549f0e58919734c43..41dc9d3beb5053b3fc079e36f1d4d4750966522c 100755
--- a/tracing/third_party/tvcm/run_py_tests
+++ b/third_party/py_vulcanize/run_py_tests
@@ -7,8 +7,7 @@ import os
import sys
_CATAPULT = os.path.abspath(
- os.path.join(os.path.dirname(__file__),
- os.path.pardir, os.path.pardir, os.path.pardir))
+ os.path.join(os.path.dirname(__file__), os.path.pardir, os.path.pardir))
def _AddToPathIfNeeded(path):
@@ -18,7 +17,14 @@ def _AddToPathIfNeeded(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, 'tracing', 'third_party', 'tvcm')))
+ os.path.join(_CATAPULT, 'third_party', 'py_vulcanize')))

Powered by Google App Engine
This is Rietveld 408576698