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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 from testrunner.local import execution | 44 from testrunner.local import execution |
45 from testrunner.local import progress | 45 from testrunner.local import progress |
46 from testrunner.local import testsuite | 46 from testrunner.local import testsuite |
47 from testrunner.local import utils | 47 from testrunner.local import utils |
48 from testrunner.local import verbose | 48 from testrunner.local import verbose |
49 from testrunner.network import network_execution | 49 from testrunner.network import network_execution |
50 from testrunner.objects import context | 50 from testrunner.objects import context |
51 | 51 |
52 | 52 |
53 ARCH_GUESS = utils.DefaultArch() | 53 ARCH_GUESS = utils.DefaultArch() |
54 DEFAULT_TESTS = ["mjsunit", "fuzz-natives", "unittests", | 54 DEFAULT_TESTS = [ |
55 "cctest", "message", "preparser"] | 55 "mjsunit", |
| 56 "unittests", |
| 57 "cctest", |
| 58 "message", |
| 59 "preparser", |
| 60 ] |
56 | 61 |
57 # 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 |
58 # expected runtimes (suites with slow test cases first). These groups are | 63 # expected runtimes (suites with slow test cases first). These groups are |
59 # invoked in seperate steps on the bots. | 64 # invoked in seperate steps on the bots. |
60 TEST_MAP = { | 65 TEST_MAP = { |
61 "default": [ | 66 "default": [ |
62 "mjsunit", | 67 "mjsunit", |
63 "fuzz-natives", | |
64 "cctest", | 68 "cctest", |
65 "message", | 69 "message", |
66 "preparser", | 70 "preparser", |
67 ], | 71 ], |
68 "optimize_for_size": [ | 72 "optimize_for_size": [ |
69 "mjsunit", | 73 "mjsunit", |
70 "cctest", | 74 "cctest", |
71 "webkit", | 75 "webkit", |
72 ], | 76 ], |
73 "unittests": [ | 77 "unittests": [ |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 exit_code = runner.Run(options.j) | 582 exit_code = runner.Run(options.j) |
579 overall_duration = time.time() - start_time | 583 overall_duration = time.time() - start_time |
580 | 584 |
581 if options.time: | 585 if options.time: |
582 verbose.PrintTestDurations(suites, overall_duration) | 586 verbose.PrintTestDurations(suites, overall_duration) |
583 return exit_code | 587 return exit_code |
584 | 588 |
585 | 589 |
586 if __name__ == "__main__": | 590 if __name__ == "__main__": |
587 sys.exit(Main()) | 591 sys.exit(Main()) |
OLD | NEW |