| 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 help="Prepended to each shell command used to run a test", | 250 help="Prepended to each shell command used to run a test", |
| 251 default="") | 251 default="") |
| 252 result.add_option("--download-data", help="Download missing test suite data", | 252 result.add_option("--download-data", help="Download missing test suite data", |
| 253 default=False, action="store_true") | 253 default=False, action="store_true") |
| 254 result.add_option("--download-data-only", | 254 result.add_option("--download-data-only", |
| 255 help="Download missing test suite data and exit", | 255 help="Download missing test suite data and exit", |
| 256 default=False, action="store_true") | 256 default=False, action="store_true") |
| 257 result.add_option("--extra-flags", | 257 result.add_option("--extra-flags", |
| 258 help="Additional flags to pass to each test command", | 258 help="Additional flags to pass to each test command", |
| 259 default="") | 259 default="") |
| 260 # TODO(machenbach): Remove this flag when not reference by infrastructure. | |
| 261 result.add_option("--ignition-turbofan", | |
| 262 help="Deprecated", | |
| 263 default=False, action="store_true") | |
| 264 result.add_option("--isolates", help="Whether to test isolates", | 260 result.add_option("--isolates", help="Whether to test isolates", |
| 265 default=False, action="store_true") | 261 default=False, action="store_true") |
| 266 result.add_option("-j", help="The number of parallel tasks to run", | 262 result.add_option("-j", help="The number of parallel tasks to run", |
| 267 default=0, type="int") | 263 default=0, type="int") |
| 268 result.add_option("-m", "--mode", | 264 result.add_option("-m", "--mode", |
| 269 help="The test modes in which to run (comma-separated," | 265 help="The test modes in which to run (comma-separated," |
| 270 " uppercase for ninja and buildbot builds): %s" % MODES.keys
(), | 266 " uppercase for ninja and buildbot builds): %s" % MODES.keys
(), |
| 271 default="release,debug") | 267 default="release,debug") |
| 272 result.add_option("--no-harness", "--noharness", | 268 result.add_option("--no-harness", "--noharness", |
| 273 help="Run without test harness of a given suite", | 269 help="Run without test harness of a given suite", |
| (...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 882 "--coverage-dir=%s" % options.sancov_dir]) | 878 "--coverage-dir=%s" % options.sancov_dir]) |
| 883 except: | 879 except: |
| 884 print >> sys.stderr, "Error: Merging sancov files failed." | 880 print >> sys.stderr, "Error: Merging sancov files failed." |
| 885 exit_code = 1 | 881 exit_code = 1 |
| 886 | 882 |
| 887 return exit_code | 883 return exit_code |
| 888 | 884 |
| 889 | 885 |
| 890 if __name__ == "__main__": | 886 if __name__ == "__main__": |
| 891 sys.exit(Main()) | 887 sys.exit(Main()) |
| OLD | NEW |