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

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

Issue 105183002: Store GPU pixel test reference images outside source tree (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 (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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 444
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)
455 data_dir = os.path.join(DIR_BUILD_ROOT, 'content_gpu_data', 'telemetry')
454 RunCmd(['content/test/gpu/run_gpu_test', 456 RunCmd(['content/test/gpu/run_gpu_test',
455 '--browser=android-content-shell', 'pixel']) 457 '--browser=android-content-shell',
458 '--generated-dir=%s' % os.path.join(data_dir, 'generated'),
459 '--reference-dir=%s' % os.path.join(data_dir, 'reference'),
460 '--build-revision=%s' % revision,
461 'pixel'])
456 462
457 bb_annotations.PrintNamedStep('webgl_conformance_tests') 463 bb_annotations.PrintNamedStep('webgl_conformance_tests')
458 RunCmd(['content/test/gpu/run_gpu_test', 464 RunCmd(['content/test/gpu/run_gpu_test',
459 '--browser=android-content-shell', 'webgl_conformance', 465 '--browser=android-content-shell', 'webgl_conformance',
460 '--webgl-conformance-version=1.0.1']) 466 '--webgl-conformance-version=1.0.1'])
461 467
462 468
463 def GetTestStepCmds(): 469 def GetTestStepCmds():
464 return [ 470 return [
465 ('chromedriver', RunChromeDriverTests), 471 ('chromedriver', RunChromeDriverTests),
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 setattr(options, 'target', options.factory_properties.get('target', 'Debug')) 612 setattr(options, 'target', options.factory_properties.get('target', 'Debug'))
607 if options.coverage_bucket: 613 if options.coverage_bucket:
608 setattr(options, 'coverage_dir', 614 setattr(options, 'coverage_dir',
609 os.path.join(CHROME_OUT_DIR, options.target, 'coverage')) 615 os.path.join(CHROME_OUT_DIR, options.target, 'coverage'))
610 616
611 MainTestWrapper(options) 617 MainTestWrapper(options)
612 618
613 619
614 if __name__ == '__main__': 620 if __name__ == '__main__':
615 sys.exit(main(sys.argv)) 621 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698