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

Side by Side Diff: build/android/buildbot/bb_device_steps.py

Issue 18323020: Updates the test runner script exit codes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Temporarily copies buildbot_report.py to buildbot Created 7 years, 5 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
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2013 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 collections 6 import collections
7 import glob 7 import glob
8 import multiprocessing 8 import multiprocessing
9 import os 9 import os
10 import shutil 10 import shutil
11 import sys 11 import sys
12 12
13 import bb_utils 13 import bb_utils
14 import buildbot_report
14 15
15 sys.path.append(os.path.join(os.path.dirname(__file__), '..')) 16 sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
16 from pylib import android_commands 17 from pylib import android_commands
17 from pylib import buildbot_report
18 from pylib import constants 18 from pylib import constants
19 from pylib.gtest import gtest_config 19 from pylib.gtest import gtest_config
20 20
21 sys.path.append(os.path.join( 21 sys.path.append(os.path.join(
22 constants.DIR_SOURCE_ROOT, 'third_party', 'android_testrunner')) 22 constants.DIR_SOURCE_ROOT, 'third_party', 'android_testrunner'))
23 import errors 23 import errors
24 24
25 25
26 CHROME_SRC = constants.DIR_SOURCE_ROOT 26 CHROME_SRC = constants.DIR_SOURCE_ROOT
27 LOGCAT_DIR = os.path.join(CHROME_SRC, 'out', 'logcat') 27 LOGCAT_DIR = os.path.join(CHROME_SRC, 'out', 'logcat')
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 if unknown_tests: 376 if unknown_tests:
377 return sys.exit('Unknown tests %s' % list(unknown_tests)) 377 return sys.exit('Unknown tests %s' % list(unknown_tests))
378 378
379 setattr(options, 'target', options.factory_properties.get('target', 'Debug')) 379 setattr(options, 'target', options.factory_properties.get('target', 'Debug'))
380 380
381 MainTestWrapper(options) 381 MainTestWrapper(options)
382 382
383 383
384 if __name__ == '__main__': 384 if __name__ == '__main__':
385 sys.exit(main(sys.argv)) 385 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | build/android/buildbot/bb_host_steps.py » ('j') | build/android/buildbot/bb_utils.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698