| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 | 2 |
| 3 ''' | 3 ''' |
| 4 Copyright 2012 Google Inc. | 4 Copyright 2012 Google Inc. |
| 5 | 5 |
| 6 Use of this source code is governed by a BSD-style license that can be | 6 Use of this source code is governed by a BSD-style license that can be |
| 7 found in the LICENSE file. | 7 found in the LICENSE file. |
| 8 ''' | 8 ''' |
| 9 | 9 |
| 10 ''' | 10 ''' |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 'base-android-galaxy-nexus': | 62 'base-android-galaxy-nexus': |
| 63 'Test-Android-GalaxyNexus-SGX540-Arm7-Debug', | 63 'Test-Android-GalaxyNexus-SGX540-Arm7-Debug', |
| 64 'base-android-nexus-7': | 64 'base-android-nexus-7': |
| 65 'Test-Android-Nexus7-Tegra3-Arm7-Release', | 65 'Test-Android-Nexus7-Tegra3-Arm7-Release', |
| 66 'base-android-nexus-s': | 66 'base-android-nexus-s': |
| 67 'Test-Android-NexusS-SGX540-Arm7-Release', | 67 'Test-Android-NexusS-SGX540-Arm7-Release', |
| 68 'base-android-xoom': | 68 'base-android-xoom': |
| 69 'Test-Android-Xoom-Tegra2-Arm7-Release', | 69 'Test-Android-Xoom-Tegra2-Arm7-Release', |
| 70 'base-android-nexus-10': | 70 'base-android-nexus-10': |
| 71 'Test-Android-Nexus10-MaliT604-Arm7-Release', | 71 'Test-Android-Nexus10-MaliT604-Arm7-Release', |
| 72 'base-android-nexus-4': |
| 73 'Test-Android-Nexus4-Adreno320-Arm7-Release', |
| 72 } | 74 } |
| 73 | 75 |
| 74 | 76 |
| 75 class CommandFailedException(Exception): | 77 class CommandFailedException(Exception): |
| 76 pass | 78 pass |
| 77 | 79 |
| 78 # Object that rebaselines a JSON expectations file (not individual image files). | 80 # Object that rebaselines a JSON expectations file (not individual image files). |
| 79 # | 81 # |
| 80 # TODO(epoger): Most of this is just the code from the old ImageRebaseliner... | 82 # TODO(epoger): Most of this is just the code from the old ImageRebaseliner... |
| 81 # some of it will need to be updated in order to properly rebaseline JSON files. | 83 # some of it will need to be updated in order to properly rebaseline JSON files. |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 else: | 453 else: |
| 452 rebaseliner = rebaseline_imagefiles.ImageRebaseliner( | 454 rebaseliner = rebaseline_imagefiles.ImageRebaseliner( |
| 453 expectations_root=args.expectations_root, | 455 expectations_root=args.expectations_root, |
| 454 tests=args.tests, configs=args.configs, | 456 tests=args.tests, configs=args.configs, |
| 455 dry_run=args.dry_run, | 457 dry_run=args.dry_run, |
| 456 json_base_url=args.json_base_url, | 458 json_base_url=args.json_base_url, |
| 457 json_filename=args.json_filename, | 459 json_filename=args.json_filename, |
| 458 add_new=args.add_new, | 460 add_new=args.add_new, |
| 459 missing_json_is_fatal=missing_json_is_fatal) | 461 missing_json_is_fatal=missing_json_is_fatal) |
| 460 rebaseliner.RebaselineSubdir(subdir=subdir, builder=builder) | 462 rebaseliner.RebaselineSubdir(subdir=subdir, builder=builder) |
| OLD | NEW |