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

Side by Side Diff: dashboard/bin/run_py_tests

Issue 2701113002: Migrate to the Google Cloud SDK. (Closed)
Patch Set: Work for both old and new SDKs. Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « dashboard/bin/deploy ('k') | dashboard/dashboard/__init__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright 2015 The Chromium Authors. All rights reserved. 2 # Copyright 2015 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Runs the Perf Dashboard Python unit test suite.""" 6 """Runs the Perf Dashboard Python unit test suite."""
7 7
8 import os 8 import os
9 import sys 9 import sys
10 10
(...skipping 14 matching lines...) Expand all
25 from hooks import install 25 from hooks import install
26 if '--no-install-hooks' in sys.argv: 26 if '--no-install-hooks' in sys.argv:
27 sys.argv.remove('--no-install-hooks') 27 sys.argv.remove('--no-install-hooks')
28 else: 28 else:
29 install.InstallHooks() 29 install.InstallHooks()
30 30
31 from catapult_build import run_with_typ 31 from catapult_build import run_with_typ
32 import dashboard 32 import dashboard
33 return_code = run_with_typ.Run( 33 return_code = run_with_typ.Run(
34 os.path.join(_DASHBOARD_PATH, 'dashboard'), 34 os.path.join(_DASHBOARD_PATH, 'dashboard'),
35 path=dashboard.ExtraPythonLibraryPaths()) 35 path=dashboard.PathsForTesting())
36 sys.exit(return_code) 36 sys.exit(return_code)
OLDNEW
« no previous file with comments | « dashboard/bin/deploy ('k') | dashboard/dashboard/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698