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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 | 42 |
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.objects import context | 48 from testrunner.objects import context |
49 | 49 |
50 | 50 |
51 ARCH_GUESS = utils.DefaultArch() | 51 ARCH_GUESS = utils.DefaultArch() |
52 DEFAULT_TESTS = ["mjsunit"] | 52 DEFAULT_TESTS = ["mjsunit", "webkit"] |
53 TIMEOUT_DEFAULT = 60 | 53 TIMEOUT_DEFAULT = 60 |
54 TIMEOUT_SCALEFACTOR = {"debug" : 4, | 54 TIMEOUT_SCALEFACTOR = {"debug" : 4, |
55 "release" : 1 } | 55 "release" : 1 } |
56 | 56 |
57 MODE_FLAGS = { | 57 MODE_FLAGS = { |
58 "debug" : ["--nobreak-on-abort", "--nodead-code-elimination", | 58 "debug" : ["--nobreak-on-abort", "--nodead-code-elimination", |
59 "--nofold-constants", "--enable-slow-asserts", | 59 "--nofold-constants", "--enable-slow-asserts", |
60 "--debug-code", "--verify-heap", | 60 "--debug-code", "--verify-heap", |
61 "--noparallel-recompilation"], | 61 "--noparallel-recompilation"], |
62 "release" : ["--nobreak-on-abort", "--nodead-code-elimination", | 62 "release" : ["--nobreak-on-abort", "--nodead-code-elimination", |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 return exit_code | 458 return exit_code |
459 | 459 |
460 except KeyboardInterrupt: | 460 except KeyboardInterrupt: |
461 return 1 | 461 return 1 |
462 | 462 |
463 return exit_code | 463 return exit_code |
464 | 464 |
465 | 465 |
466 if __name__ == "__main__": | 466 if __name__ == "__main__": |
467 sys.exit(Main()) | 467 sys.exit(Main()) |
OLD | NEW |