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

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

Issue 177653008: Fully unreference run_gpu_test and delete it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Retry failed upload. Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/test/gpu/run_gpu_test » ('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) 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 hashlib 8 import hashlib
9 import json 9 import json
10 import multiprocessing 10 import multiprocessing
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 445
446 def RunWebRTCNativeTests(options): 446 def RunWebRTCNativeTests(options):
447 RunTestSuites(options, gtest_config.WEBRTC_NATIVE_TEST_SUITES) 447 RunTestSuites(options, gtest_config.WEBRTC_NATIVE_TEST_SUITES)
448 448
449 449
450 def RunGPUTests(options): 450 def RunGPUTests(options):
451 InstallApk(options, INSTRUMENTATION_TESTS['ContentShell'], False) 451 InstallApk(options, INSTRUMENTATION_TESTS['ContentShell'], False)
452 452
453 bb_annotations.PrintNamedStep('gpu_tests') 453 bb_annotations.PrintNamedStep('gpu_tests')
454 revision = _GetRevision(options) 454 revision = _GetRevision(options)
455 RunCmd(['content/test/gpu/run_gpu_test', 455 RunCmd(['content/test/gpu/run_gpu_test.py',
456 'pixel', 456 'pixel',
457 '--browser', 457 '--browser',
458 'android-content-shell', 458 'android-content-shell',
459 '--build-revision', 459 '--build-revision',
460 str(revision), 460 str(revision),
461 '--upload-refimg-to-cloud-storage', 461 '--upload-refimg-to-cloud-storage',
462 '--refimg-cloud-storage-bucket', 462 '--refimg-cloud-storage-bucket',
463 'chromium-gpu-archive/reference-images', 463 'chromium-gpu-archive/reference-images',
464 '--os-type', 464 '--os-type',
465 'android', 465 'android',
466 '--test-machine-name', 466 '--test-machine-name',
467 EscapeBuilderName( 467 EscapeBuilderName(
468 options.build_properties.get('buildername', 'noname'))]) 468 options.build_properties.get('buildername', 'noname'))])
469 469
470 bb_annotations.PrintNamedStep('webgl_conformance_tests') 470 bb_annotations.PrintNamedStep('webgl_conformance_tests')
471 RunCmd(['content/test/gpu/run_gpu_test', 471 RunCmd(['content/test/gpu/run_gpu_test.py',
472 '--browser=android-content-shell', 'webgl_conformance', 472 '--browser=android-content-shell', 'webgl_conformance',
473 '--webgl-conformance-version=1.0.1']) 473 '--webgl-conformance-version=1.0.1'])
474 474
475 475
476 def GetTestStepCmds(): 476 def GetTestStepCmds():
477 return [ 477 return [
478 ('chromedriver', RunChromeDriverTests), 478 ('chromedriver', RunChromeDriverTests),
479 ('gpu', RunGPUTests), 479 ('gpu', RunGPUTests),
480 ('unit', RunUnitTests), 480 ('unit', RunUnitTests),
481 ('ui', RunInstrumentationTests), 481 ('ui', RunInstrumentationTests),
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 setattr(options, 'target', options.factory_properties.get('target', 'Debug')) 642 setattr(options, 'target', options.factory_properties.get('target', 'Debug'))
643 if options.coverage_bucket: 643 if options.coverage_bucket:
644 setattr(options, 'coverage_dir', 644 setattr(options, 'coverage_dir',
645 os.path.join(CHROME_OUT_DIR, options.target, 'coverage')) 645 os.path.join(CHROME_OUT_DIR, options.target, 'coverage'))
646 646
647 MainTestWrapper(options) 647 MainTestWrapper(options)
648 648
649 649
650 if __name__ == '__main__': 650 if __name__ == '__main__':
651 sys.exit(main(sys.argv)) 651 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | content/test/gpu/run_gpu_test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698