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'))) |