Revision: 3155 Author: [email protected] Date: Wed Oct 28 02:38:09 2009 Log: Add snapshot option to test runner.
Passing option --snapshot to test.py has the same effect as passing -S snapshot=on. Review URL: http://codereview.chromium.org/346004 http://code.google.com/p/v8/source/detail?r=3155 Modified: /branches/bleeding_edge/tools/test.py ======================================= --- /branches/bleeding_edge/tools/test.py Thu Oct 22 12:09:09 2009 +++ /branches/bleeding_edge/tools/test.py Wed Oct 28 02:38:09 2009 @@ -1094,6 +1094,8 @@ default=60, type="int") result.add_option("--arch", help='The architecture to run tests for', default='none') + result.add_option("--snapshot", help="Run the tests with snapshot turned on", + default=False, action="store_true") result.add_option("--simulator", help="Run tests with architecture simulator", default='none') result.add_option("--special-command", default=None) @@ -1139,6 +1141,8 @@ if options.arch == 'none': options.arch = ARCH_GUESS options.scons_flags.append("arch=" + options.arch) + if options.snapshot: + options.scons_flags.append("snapshot=on") return True --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
