Chromium Code Reviews| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 52 from testrunner.objects import context | 52 from testrunner.objects import context |
| 53 | 53 |
| 54 | 54 |
| 55 # Base dir of the v8 checkout to be used as cwd. | 55 # Base dir of the v8 checkout to be used as cwd. |
| 56 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) | 56 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) |
| 57 | 57 |
| 58 DEFAULT_OUT_GN = "out.gn" | 58 DEFAULT_OUT_GN = "out.gn" |
| 59 | 59 |
| 60 ARCH_GUESS = utils.DefaultArch() | 60 ARCH_GUESS = utils.DefaultArch() |
| 61 | 61 |
| 62 # Map of test name synonyms to lists of test suites. Should be ordered by | 62 # Map of test name synonyms to lists of test suites. Should be ordered by |
|
Michael Achenbach
2016/11/03 08:22:17
Please no alpha sort, see this comment. Inspector
Yang
2016/11/03 08:33:27
I see. I reordered this a bit.
| |
| 63 # expected runtimes (suites with slow test cases first). These groups are | 63 # expected runtimes (suites with slow test cases first). These groups are |
| 64 # invoked in seperate steps on the bots. | 64 # invoked in seperate steps on the bots. |
| 65 TEST_MAP = { | 65 TEST_MAP = { |
| 66 # This needs to stay in sync with test/bot_default.isolate. | 66 # This needs to stay in sync with test/bot_default.isolate. |
| 67 "bot_default": [ | 67 "bot_default": [ |
| 68 "cctest", | |
| 69 "debugger", | |
|
Michael Achenbach
2016/11/03 08:23:40
If debugger isn't dog slow, it should also be move
| |
| 70 "fuzzer", | |
| 71 "inspector", | |
| 72 "intl", | |
| 73 "message", | |
| 68 "mjsunit", | 74 "mjsunit", |
| 69 "debugger", | 75 "preparser", |
| 70 "cctest", | 76 "unittests", |
| 71 "webkit", | 77 "webkit", |
| 72 "inspector", | |
| 73 "fuzzer", | |
| 74 "message", | |
| 75 "preparser", | |
| 76 "intl", | |
| 77 "unittests", | |
| 78 ], | 78 ], |
| 79 # This needs to stay in sync with test/default.isolate. | 79 # This needs to stay in sync with test/default.isolate. |
| 80 "default": [ | 80 "default": [ |
| 81 "cctest", | |
| 82 "debugger", | |
| 83 "fuzzer", | |
| 84 "inspector", | |
| 85 "intl", | |
| 86 "message", | |
| 81 "mjsunit", | 87 "mjsunit", |
| 82 "debugger", | |
| 83 "cctest", | |
| 84 "fuzzer", | |
| 85 "message", | |
| 86 "preparser", | 88 "preparser", |
| 87 "intl", | |
| 88 "unittests", | 89 "unittests", |
| 89 ], | 90 ], |
| 90 # This needs to stay in sync with test/optimize_for_size.isolate. | 91 # This needs to stay in sync with test/optimize_for_size.isolate. |
| 91 "optimize_for_size": [ | 92 "optimize_for_size": [ |
| 92 "mjsunit", | 93 "cctest", |
| 93 "debugger", | 94 "debugger", |
| 94 "cctest", | |
| 95 "webkit", | |
| 96 "inspector", | 95 "inspector", |
| 97 "intl", | 96 "intl", |
| 97 "mjsunit", | |
| 98 "webkit", | |
| 98 ], | 99 ], |
| 99 "unittests": [ | 100 "unittests": [ |
| 100 "unittests", | 101 "unittests", |
| 101 ], | 102 ], |
| 102 } | 103 } |
| 103 | 104 |
| 104 TIMEOUT_DEFAULT = 60 | 105 TIMEOUT_DEFAULT = 60 |
| 105 | 106 |
| 106 VARIANTS = ["default", "turbofan", "ignition_staging"] | 107 VARIANTS = ["default", "turbofan", "ignition_staging"] |
| 107 | 108 |
| (...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 917 "--coverage-dir=%s" % options.sancov_dir]) | 918 "--coverage-dir=%s" % options.sancov_dir]) |
| 918 except: | 919 except: |
| 919 print >> sys.stderr, "Error: Merging sancov files failed." | 920 print >> sys.stderr, "Error: Merging sancov files failed." |
| 920 exit_code = 1 | 921 exit_code = 1 |
| 921 | 922 |
| 922 return exit_code | 923 return exit_code |
| 923 | 924 |
| 924 | 925 |
| 925 if __name__ == "__main__": | 926 if __name__ == "__main__": |
| 926 sys.exit(Main()) | 927 sys.exit(Main()) |
| OLD | NEW |