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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 ARCH_GUESS = utils.DefaultArch() | 58 ARCH_GUESS = utils.DefaultArch() | 
| 59 | 59 | 
| 60 # Map of test name synonyms to lists of test suites. Should be ordered by | 60 # Map of test name synonyms to lists of test suites. Should be ordered by | 
| 61 # expected runtimes (suites with slow test cases first). These groups are | 61 # expected runtimes (suites with slow test cases first). These groups are | 
| 62 # invoked in seperate steps on the bots. | 62 # invoked in seperate steps on the bots. | 
| 63 TEST_MAP = { | 63 TEST_MAP = { | 
| 64 # This needs to stay in sync with test/bot_default.isolate. | 64 # This needs to stay in sync with test/bot_default.isolate. | 
| 
 
Michael Achenbach
2016/07/28 13:03:18
You also need to reference the isolate and gyp fil
 
Yang
2016/07/28 13:36:44
Done.
 
 | |
| 65 "bot_default": [ | 65 "bot_default": [ | 
| 66 "mjsunit", | 66 "mjsunit", | 
| 67 "cctest", | 67 "cctest", | 
| 68 "webkit", | 68 "webkit", | 
| 69 "fuzzer", | 69 "fuzzer", | 
| 70 "message", | 70 "message", | 
| 71 "preparser", | 71 "preparser", | 
| 72 "intl", | 72 "intl", | 
| 73 "unittests", | 73 "unittests", | 
| 74 "inspector_protocol_parser_test", | |
| 
 
Michael Achenbach
2016/07/28 13:03:18
Note that these are somewhat sorted slow->fast. Pl
 
Yang
2016/07/28 13:36:44
I think this is the case. Debug mode running both
 
 | |
| 74 ], | 75 ], | 
| 75 # This needs to stay in sync with test/default.isolate. | 76 # This needs to stay in sync with test/default.isolate. | 
| 76 "default": [ | 77 "default": [ | 
| 77 "mjsunit", | 78 "mjsunit", | 
| 78 "cctest", | 79 "cctest", | 
| 79 "fuzzer", | 80 "fuzzer", | 
| 80 "message", | 81 "message", | 
| 81 "preparser", | 82 "preparser", | 
| 82 "intl", | 83 "intl", | 
| 83 "unittests", | 84 "unittests", | 
| 85 "inspector_protocol_parser_test", | |
| 84 ], | 86 ], | 
| 85 # This needs to stay in sync with test/ignition.isolate. | 87 # This needs to stay in sync with test/ignition.isolate. | 
| 86 "ignition": [ | 88 "ignition": [ | 
| 87 "mjsunit", | 89 "mjsunit", | 
| 88 "cctest", | 90 "cctest", | 
| 89 "webkit", | 91 "webkit", | 
| 90 "message", | 92 "message", | 
| 91 ], | 93 ], | 
| 92 # This needs to stay in sync with test/optimize_for_size.isolate. | 94 # This needs to stay in sync with test/optimize_for_size.isolate. | 
| 93 "optimize_for_size": [ | 95 "optimize_for_size": [ | 
| 94 "mjsunit", | 96 "mjsunit", | 
| 95 "cctest", | 97 "cctest", | 
| 96 "webkit", | 98 "webkit", | 
| 97 "intl", | 99 "intl", | 
| 98 ], | 100 ], | 
| 99 "unittests": [ | 101 "unittests": [ | 
| 100 "unittests", | 102 "unittests", | 
| 103 "inspector_protocol_parser_test", | |
| 
 
Michael Achenbach
2016/07/28 13:03:18
Hmm, if they should be executed when only executin
 
 | |
| 101 ], | 104 ], | 
| 102 } | 105 } | 
| 103 | 106 | 
| 104 TIMEOUT_DEFAULT = 60 | 107 TIMEOUT_DEFAULT = 60 | 
| 105 | 108 | 
| 106 VARIANTS = ["default", "stress", "turbofan"] | 109 VARIANTS = ["default", "stress", "turbofan"] | 
| 107 | 110 | 
| 108 EXHAUSTIVE_VARIANTS = VARIANTS + [ | 111 EXHAUSTIVE_VARIANTS = VARIANTS + [ | 
| 109 "ignition", | 112 "ignition", | 
| 110 "nocrankshaft", | 113 "nocrankshaft", | 
| (...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 870 "--coverage-dir=%s" % options.sancov_dir]) | 873 "--coverage-dir=%s" % options.sancov_dir]) | 
| 871 except: | 874 except: | 
| 872 print >> sys.stderr, "Error: Merging sancov files failed." | 875 print >> sys.stderr, "Error: Merging sancov files failed." | 
| 873 exit_code = 1 | 876 exit_code = 1 | 
| 874 | 877 | 
| 875 return exit_code | 878 return exit_code | 
| 876 | 879 | 
| 877 | 880 | 
| 878 if __name__ == "__main__": | 881 if __name__ == "__main__": | 
| 879 sys.exit(Main()) | 882 sys.exit(Main()) | 
| OLD | NEW |