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

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

Issue 305863002: Revert 273386 "Add gpu-rasterization test to Android gpu testbot." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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 | trunk/src/build/android/buildbot/bb_run_bot.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) 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 os 10 import os
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 449
450 def RunWebRTCChromiumTests(options): 450 def RunWebRTCChromiumTests(options):
451 RunTestSuites(options, gtest_config.WEBRTC_CHROMIUM_TEST_SUITES) 451 RunTestSuites(options, gtest_config.WEBRTC_CHROMIUM_TEST_SUITES)
452 452
453 453
454 def RunWebRTCNativeTests(options): 454 def RunWebRTCNativeTests(options):
455 RunTestSuites(options, gtest_config.WEBRTC_NATIVE_TEST_SUITES) 455 RunTestSuites(options, gtest_config.WEBRTC_NATIVE_TEST_SUITES)
456 456
457 457
458 def RunGPUTests(options): 458 def RunGPUTests(options):
459 InstallApk(options, INSTRUMENTATION_TESTS['ContentShell'], False)
460
461 bb_annotations.PrintNamedStep('gpu_tests')
459 revision = _GetRevision(options) 462 revision = _GetRevision(options)
460 builder_name = options.build_properties.get('buildername', 'noname')
461
462 bb_annotations.PrintNamedStep('pixel_tests')
463 RunCmd(['content/test/gpu/run_gpu_test.py', 463 RunCmd(['content/test/gpu/run_gpu_test.py',
464 'pixel', 464 'pixel',
465 '--browser', 465 '--browser',
466 'android-content-shell', 466 'android-content-shell',
467 '--build-revision', 467 '--build-revision',
468 str(revision), 468 str(revision),
469 '--upload-refimg-to-cloud-storage', 469 '--upload-refimg-to-cloud-storage',
470 '--refimg-cloud-storage-bucket', 470 '--refimg-cloud-storage-bucket',
471 'chromium-gpu-archive/reference-images', 471 'chromium-gpu-archive/reference-images',
472 '--os-type', 472 '--os-type',
473 'android', 473 'android',
474 '--test-machine-name', 474 '--test-machine-name',
475 EscapeBuilderName(builder_name)]) 475 EscapeBuilderName(
476 options.build_properties.get('buildername', 'noname'))])
476 477
477 bb_annotations.PrintNamedStep('webgl_conformance_tests') 478 bb_annotations.PrintNamedStep('webgl_conformance_tests')
478 RunCmd(['content/test/gpu/run_gpu_test.py', 479 RunCmd(['content/test/gpu/run_gpu_test.py',
479 '--browser=android-content-shell', 'webgl_conformance', 480 '--browser=android-content-shell', 'webgl_conformance',
480 '--webgl-conformance-version=1.0.1']) 481 '--webgl-conformance-version=1.0.1'])
481 482
482 bb_annotations.PrintNamedStep('gpu_rasterization_tests')
483 RunCmd(['content/test/gpu/run_gpu_test.py',
484 'gpu_rasterization',
485 '--browser',
486 'android-content-shell',
487 '--build-revision',
488 str(revision),
489 '--test-machine-name',
490 EscapeBuilderName(builder_name)])
491
492 483
493 def GetTestStepCmds(): 484 def GetTestStepCmds():
494 return [ 485 return [
495 ('chromedriver', RunChromeDriverTests), 486 ('chromedriver', RunChromeDriverTests),
496 ('gpu', RunGPUTests), 487 ('gpu', RunGPUTests),
497 ('mojo', RunMojoTests), 488 ('mojo', RunMojoTests),
498 ('telemetry_perf_unittests', RunTelemetryPerfUnitTests), 489 ('telemetry_perf_unittests', RunTelemetryPerfUnitTests),
499 ('unit', RunUnitTests), 490 ('unit', RunUnitTests),
500 ('ui', RunInstrumentationTests), 491 ('ui', RunInstrumentationTests),
501 ('webkit', RunWebkitTests), 492 ('webkit', RunWebkitTests),
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 setattr(options, 'target', options.factory_properties.get('target', 'Debug')) 661 setattr(options, 'target', options.factory_properties.get('target', 'Debug'))
671 if options.coverage_bucket: 662 if options.coverage_bucket:
672 setattr(options, 'coverage_dir', 663 setattr(options, 'coverage_dir',
673 os.path.join(CHROME_OUT_DIR, options.target, 'coverage')) 664 os.path.join(CHROME_OUT_DIR, options.target, 'coverage'))
674 665
675 MainTestWrapper(options) 666 MainTestWrapper(options)
676 667
677 668
678 if __name__ == '__main__': 669 if __name__ == '__main__':
679 sys.exit(main(sys.argv)) 670 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | trunk/src/build/android/buildbot/bb_run_bot.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698