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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 from testrunner.local import execution | 43 from testrunner.local import execution |
44 from testrunner.local import progress | 44 from testrunner.local import progress |
45 from testrunner.local import testsuite | 45 from testrunner.local import testsuite |
46 from testrunner.local import utils | 46 from testrunner.local import utils |
47 from testrunner.local import verbose | 47 from testrunner.local import verbose |
48 from testrunner.network import network_execution | 48 from testrunner.network import network_execution |
49 from testrunner.objects import context | 49 from testrunner.objects import context |
50 | 50 |
51 | 51 |
52 ARCH_GUESS = utils.DefaultArch() | 52 ARCH_GUESS = utils.DefaultArch() |
53 DEFAULT_TESTS = ["mjsunit", "fuzz-natives", "cctest", "message", "preparser"] | 53 DEFAULT_TESTS = [ |
| 54 "mjsunit", |
| 55 "fuzz-natives", |
| 56 "cctest", |
| 57 "unittests", |
| 58 "message", |
| 59 "preparser"] |
54 TIMEOUT_DEFAULT = 60 | 60 TIMEOUT_DEFAULT = 60 |
55 TIMEOUT_SCALEFACTOR = {"debug" : 4, | 61 TIMEOUT_SCALEFACTOR = {"debug" : 4, |
56 "release" : 1 } | 62 "release" : 1 } |
57 | 63 |
58 # Use this to run several variants of the tests. | 64 # Use this to run several variants of the tests. |
59 VARIANT_FLAGS = { | 65 VARIANT_FLAGS = { |
60 "default": [], | 66 "default": [], |
61 "stress": ["--stress-opt", "--always-opt"], | 67 "stress": ["--stress-opt", "--always-opt"], |
62 "turbofan": ["--turbo-filter=*", "--always-opt"], | 68 "turbofan": ["--turbo-filter=*", "--always-opt"], |
63 "nocrankshaft": ["--nocrankshaft"]} | 69 "nocrankshaft": ["--nocrankshaft"]} |
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 exit_code = runner.Run(options.j) | 546 exit_code = runner.Run(options.j) |
541 overall_duration = time.time() - start_time | 547 overall_duration = time.time() - start_time |
542 | 548 |
543 if options.time: | 549 if options.time: |
544 verbose.PrintTestDurations(suites, overall_duration) | 550 verbose.PrintTestDurations(suites, overall_duration) |
545 return exit_code | 551 return exit_code |
546 | 552 |
547 | 553 |
548 if __name__ == "__main__": | 554 if __name__ == "__main__": |
549 sys.exit(Main()) | 555 sys.exit(Main()) |
OLD | NEW |