| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 from testrunner.network import network_execution | 50 from testrunner.network import network_execution |
| 51 from testrunner.objects import context | 51 from testrunner.objects import context |
| 52 | 52 |
| 53 | 53 |
| 54 ARCH_GUESS = utils.DefaultArch() | 54 ARCH_GUESS = utils.DefaultArch() |
| 55 | 55 |
| 56 # Map of test name synonyms to lists of test suites. Should be ordered by | 56 # Map of test name synonyms to lists of test suites. Should be ordered by |
| 57 # expected runtimes (suites with slow test cases first). These groups are | 57 # expected runtimes (suites with slow test cases first). These groups are |
| 58 # invoked in seperate steps on the bots. | 58 # invoked in seperate steps on the bots. |
| 59 TEST_MAP = { | 59 TEST_MAP = { |
| 60 "bot_default": [ |
| 61 "mjsunit", |
| 62 "cctest", |
| 63 "webkit", |
| 64 "message", |
| 65 "preparser", |
| 66 "intl", |
| 67 "unittests", |
| 68 ], |
| 60 "default": [ | 69 "default": [ |
| 61 "mjsunit", | 70 "mjsunit", |
| 62 "cctest", | 71 "cctest", |
| 63 "message", | 72 "message", |
| 64 "preparser", | 73 "preparser", |
| 65 "intl", | 74 "intl", |
| 66 "unittests", | 75 "unittests", |
| 67 ], | 76 ], |
| 68 "optimize_for_size": [ | 77 "optimize_for_size": [ |
| 69 "mjsunit", | 78 "mjsunit", |
| (...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 717 verbose.PrintTestDurations(suites, overall_duration) | 726 verbose.PrintTestDurations(suites, overall_duration) |
| 718 | 727 |
| 719 if num_tests == 0: | 728 if num_tests == 0: |
| 720 print("Warning: no tests were run!") | 729 print("Warning: no tests were run!") |
| 721 | 730 |
| 722 return exit_code | 731 return exit_code |
| 723 | 732 |
| 724 | 733 |
| 725 if __name__ == "__main__": | 734 if __name__ == "__main__": |
| 726 sys.exit(Main()) | 735 sys.exit(Main()) |
| OLD | NEW |