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

Unified Diff: third_party/py_vulcanize/bin/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 | « no previous file | third_party/py_vulcanize/run_py_tests » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/py_vulcanize/bin/run_py_tests
diff --git a/third_party/py_vulcanize/run_py_tests b/third_party/py_vulcanize/bin/run_py_tests
similarity index 59%
rename from third_party/py_vulcanize/run_py_tests
rename to third_party/py_vulcanize/bin/run_py_tests
index 41dc9d3beb5053b3fc079e36f1d4d4750966522c..b9b2f3338c9abe236a75c046698a49e184ff2152 100755
--- a/third_party/py_vulcanize/run_py_tests
+++ b/third_party/py_vulcanize/bin/run_py_tests
@@ -6,8 +6,8 @@
import os
import sys
-_CATAPULT = os.path.abspath(
- os.path.join(os.path.dirname(__file__), os.path.pardir, os.path.pardir))
+_CATAPULT = os.path.abspath(os.path.join(
+ os.path.dirname(__file__), os.path.pardir, os.path.pardir, os.path.pardir))
def _AddToPathIfNeeded(path):
@@ -24,6 +24,15 @@ if __name__ == '__main__':
else:
install.InstallHooks()
+ # This flag is added only temporarily so that the tests can
+ # be re-enabled on the waterfall and fixed using try jobs.
+ # See https://github.com/catapult-project/catapult/issues/1584
+ if '--really-run' in sys.argv:
+ sys.argv.remove('--really-run')
+ else:
+ print 'Skipping test!'
+ sys.exit(0)
+
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 | « no previous file | third_party/py_vulcanize/run_py_tests » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698