| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # | 2 # |
| 3 # Copyright 2012 the V8 project authors. All rights reserved. | 3 # Copyright 2012 the V8 project authors. All rights reserved. |
| 4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
| 5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
| 6 # met: | 6 # met: |
| 7 # | 7 # |
| 8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
| 9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
| 10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 53 |
| 54 # Base dir of the v8 checkout to be used as cwd. | 54 # Base dir of the v8 checkout to be used as cwd. |
| 55 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) | 55 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) |
| 56 | 56 |
| 57 ARCH_GUESS = utils.DefaultArch() | 57 ARCH_GUESS = utils.DefaultArch() |
| 58 | 58 |
| 59 # Map of test name synonyms to lists of test suites. Should be ordered by | 59 # Map of test name synonyms to lists of test suites. Should be ordered by |
| 60 # expected runtimes (suites with slow test cases first). These groups are | 60 # expected runtimes (suites with slow test cases first). These groups are |
| 61 # invoked in seperate steps on the bots. | 61 # invoked in seperate steps on the bots. |
| 62 TEST_MAP = { | 62 TEST_MAP = { |
| 63 # This needs to stay in sync with test/bot_default.isolate. |
| 63 "bot_default": [ | 64 "bot_default": [ |
| 64 "mjsunit", | 65 "mjsunit", |
| 65 "cctest", | 66 "cctest", |
| 66 "webkit", | 67 "webkit", |
| 68 "fuzzer", |
| 67 "message", | 69 "message", |
| 68 "preparser", | 70 "preparser", |
| 69 "intl", | 71 "intl", |
| 70 "unittests", | 72 "unittests", |
| 71 ], | 73 ], |
| 74 # This needs to stay in sync with test/default.isolate. |
| 72 "default": [ | 75 "default": [ |
| 73 "mjsunit", | 76 "mjsunit", |
| 74 "cctest", | 77 "cctest", |
| 78 "fuzzer", |
| 75 "message", | 79 "message", |
| 76 "preparser", | 80 "preparser", |
| 77 "intl", | 81 "intl", |
| 78 "unittests", | 82 "unittests", |
| 79 ], | 83 ], |
| 84 # This needs to stay in sync with test/ignition.isolate. |
| 80 "ignition": [ | 85 "ignition": [ |
| 81 "mjsunit", | 86 "mjsunit", |
| 82 "cctest", | 87 "cctest", |
| 83 ], | 88 ], |
| 89 # This needs to stay in sync with test/optimize_for_size.isolate. |
| 84 "optimize_for_size": [ | 90 "optimize_for_size": [ |
| 85 "mjsunit", | 91 "mjsunit", |
| 86 "cctest", | 92 "cctest", |
| 87 "webkit", | 93 "webkit", |
| 88 "intl", | 94 "intl", |
| 89 ], | 95 ], |
| 90 "unittests": [ | 96 "unittests": [ |
| 91 "unittests", | 97 "unittests", |
| 92 ], | 98 ], |
| 93 } | 99 } |
| (...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 807 if exit_code == 1 and options.json_test_results: | 813 if exit_code == 1 and options.json_test_results: |
| 808 print("Force exit code 0 after failures. Json test results file generated " | 814 print("Force exit code 0 after failures. Json test results file generated " |
| 809 "with failure information.") | 815 "with failure information.") |
| 810 exit_code = 0 | 816 exit_code = 0 |
| 811 | 817 |
| 812 return exit_code | 818 return exit_code |
| 813 | 819 |
| 814 | 820 |
| 815 if __name__ == "__main__": | 821 if __name__ == "__main__": |
| 816 sys.exit(Main()) | 822 sys.exit(Main()) |
| OLD | NEW |