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 "bot_default": [ |
| 64 "mjsunit", |
| 65 "cctest", |
| 66 "webkit", |
| 67 "message", |
| 68 "preparser", |
| 69 "intl", |
| 70 "unittests", |
| 71 ], |
63 "default": [ | 72 "default": [ |
64 "mjsunit", | 73 "mjsunit", |
65 "cctest", | 74 "cctest", |
66 "message", | 75 "message", |
67 "preparser", | 76 "preparser", |
68 "intl", | 77 "intl", |
69 "unittests", | 78 "unittests", |
70 ], | 79 ], |
71 "optimize_for_size": [ | 80 "optimize_for_size": [ |
72 "mjsunit", | 81 "mjsunit", |
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 verbose.PrintTestDurations(suites, overall_duration) | 750 verbose.PrintTestDurations(suites, overall_duration) |
742 | 751 |
743 if num_tests == 0: | 752 if num_tests == 0: |
744 print("Warning: no tests were run!") | 753 print("Warning: no tests were run!") |
745 | 754 |
746 return exit_code | 755 return exit_code |
747 | 756 |
748 | 757 |
749 if __name__ == "__main__": | 758 if __name__ == "__main__": |
750 sys.exit(Main()) | 759 sys.exit(Main()) |
OLD | NEW |