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

Side by Side Diff: common/battor/bin/run_py_tests

Issue 1945733002: [Battor] Fix broken BattOr unit tests and set them to run in CQ. (Closed) Base URL: git@github.com:catapult-project/catapult@master
Patch Set: fix whitespace Created 4 years, 7 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 | « common/battor/battor/battor_wrapper_unittest.py ('k') | no next file » | 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 2016 The Chromium Authors. All rights reserved. 2 # Copyright 2016 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 import os 6 import os
7 import sys 7 import sys
8 8
9 _CATAPULT_PATH = os.path.abspath(os.path.join( 9 _CATAPULT_PATH = os.path.abspath(os.path.join(
10 os.path.dirname(__file__), '..', '..')) 10 os.path.dirname(__file__), '..', '..', '..'))
11 _DEVIL_PATH = os.path.abspath(os.path.join( 11 _BATTOR_PATH = os.path.abspath(os.path.join(
12 os.path.dirname(__file__), '..')) 12 os.path.dirname(__file__), '..'))
13 13
14 sys.path.append(_CATAPULT_PATH) 14 sys.path.append(_CATAPULT_PATH)
15 from catapult_build import run_with_typ 15 from catapult_build import run_with_typ
16 16
17 17
18 def main(): 18 def main():
19 return run_with_typ.Run(top_level_dir=_DEVIL_PATH) 19 return run_with_typ.Run(top_level_dir=_BATTOR_PATH)
20
20 21
21 if __name__ == '__main__': 22 if __name__ == '__main__':
22 sys.exit(main()) 23 sys.exit(main())
OLDNEW
« no previous file with comments | « common/battor/battor/battor_wrapper_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698