| OLD | NEW |
| 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 argparse | 6 import argparse |
| 7 import os | 7 import os |
| 8 import subprocess | 8 import subprocess |
| 9 import sys | 9 import sys |
| 10 import time | 10 import time |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 | 32 |
| 33 pepper_ver = str(int(build_version.ChromeMajorVersion())) | 33 pepper_ver = str(int(build_version.ChromeMajorVersion())) |
| 34 pepperdir = os.path.join(OUT_DIR, 'pepper_' + pepper_ver) | 34 pepperdir = os.path.join(OUT_DIR, 'pepper_' + pepper_ver) |
| 35 | 35 |
| 36 browser_tester_py = os.path.join(SRC_DIR, 'ppapi', 'native_client', 'tools', | 36 browser_tester_py = os.path.join(SRC_DIR, 'ppapi', 'native_client', 'tools', |
| 37 'browser_tester', 'browser_tester.py') | 37 'browser_tester', 'browser_tester.py') |
| 38 | 38 |
| 39 | 39 |
| 40 ALL_CONFIGS = ['Debug', 'Release'] | 40 ALL_CONFIGS = ['Debug', 'Release'] |
| 41 ALL_TOOLCHAINS = ['newlib', 'glibc', 'pnacl', 'win', 'linux', 'mac'] | 41 ALL_TOOLCHAINS = [ |
| 42 'newlib', |
| 43 'glibc', |
| 44 'pnacl', |
| 45 'win', |
| 46 'linux', |
| 47 'mac', |
| 48 'clang-newlib', |
| 49 ] |
| 42 | 50 |
| 43 # Values you can filter by: | 51 # Values you can filter by: |
| 44 # name: The name of the test. (e.g. "pi_generator") | 52 # name: The name of the test. (e.g. "pi_generator") |
| 45 # config: See ALL_CONFIGS above. | 53 # config: See ALL_CONFIGS above. |
| 46 # toolchain: See ALL_TOOLCHAINS above. | 54 # toolchain: See ALL_TOOLCHAINS above. |
| 47 # platform: mac/win/linux. | 55 # platform: mac/win/linux. |
| 48 # | 56 # |
| 49 # All keys must be matched, but any value that matches in a sequence is | 57 # All keys must be matched, but any value that matches in a sequence is |
| 50 # considered a match for that key. For example: | 58 # considered a match for that key. For example: |
| 51 # | 59 # |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 | 376 |
| 369 | 377 |
| 370 if __name__ == '__main__': | 378 if __name__ == '__main__': |
| 371 script_name = os.path.basename(sys.argv[0]) | 379 script_name = os.path.basename(sys.argv[0]) |
| 372 try: | 380 try: |
| 373 sys.exit(main(sys.argv[1:])) | 381 sys.exit(main(sys.argv[1:])) |
| 374 except parse_dsc.ValidationError as e: | 382 except parse_dsc.ValidationError as e: |
| 375 buildbot_common.ErrorExit('%s: %s' % (script_name, e)) | 383 buildbot_common.ErrorExit('%s: %s' % (script_name, e)) |
| 376 except KeyboardInterrupt: | 384 except KeyboardInterrupt: |
| 377 buildbot_common.ErrorExit('%s: interrupted' % script_name) | 385 buildbot_common.ErrorExit('%s: interrupted' % script_name) |
| OLD | NEW |