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

Side by Side Diff: experimental/bisect_lib/bin/run_py_tests

Issue 1521503002: Update bisect_lib with the changes committed in the infra/build repo. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: In README: add back license header, add link to Telemetry docs in catapult Created 5 years 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 | « experimental/bisect_lib/README.md ('k') | experimental/bisect_lib/bisect_helper.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/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2015 The Chromium Authors. All rights reserved. 2 # Copyright (c) 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 all Python unit tests in catapult_build/.""" 6 """Runs all Python unit tests in catapult_build/."""
7 7
8 import os 8 import os
9 import sys 9 import sys
10 10
11 _CATAPULT = os.path.abspath( 11 _CATAPULT = os.path.abspath(os.path.join(
12 os.path.join(os.path.dirname(__file__), os.path.pardir, os.path.pardir)) 12 os.path.dirname(__file__), os.path.pardir, os.path.pardir, os.path.pardir))
13 13
14 14
15 if __name__ == '__main__': 15 if __name__ == '__main__':
16 sys.path.append(_CATAPULT) 16 sys.path.append(_CATAPULT)
17 17
18 from hooks import install 18 from hooks import install
19 if '--no-install-hooks' in sys.argv: 19 if '--no-install-hooks' in sys.argv:
20 sys.argv.remove('--no-install-hooks') 20 sys.argv.remove('--no-install-hooks')
21 else: 21 else:
22 install.InstallHooks() 22 install.InstallHooks()
23 23
24 from catapult_build import run_with_typ 24 from catapult_build import run_with_typ
25 sys.exit(run_with_typ.Run( 25 sys.exit(run_with_typ.Run(
26 os.path.join(_CATAPULT, 'catapult_build'), 26 os.path.join(_CATAPULT, 'experimental', 'bisect_lib'),
27 path=[_CATAPULT])) 27 path=[_CATAPULT]))
OLDNEW
« no previous file with comments | « experimental/bisect_lib/README.md ('k') | experimental/bisect_lib/bisect_helper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698