Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(445)

Side by Side Diff: tools/run-tests.py

Issue 1922623003: [Interpreter] Prepare switching to new ignition testing variant. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/run-deopt-fuzzer.py ('k') | tools/testrunner/local/testsuite.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 result.add_option("--download-data", help="Download missing test suite data", 248 result.add_option("--download-data", help="Download missing test suite data",
249 default=False, action="store_true") 249 default=False, action="store_true")
250 result.add_option("--download-data-only", 250 result.add_option("--download-data-only",
251 help="Download missing test suite data and exit", 251 help="Download missing test suite data and exit",
252 default=False, action="store_true") 252 default=False, action="store_true")
253 result.add_option("--extra-flags", 253 result.add_option("--extra-flags",
254 help="Additional flags to pass to each test command", 254 help="Additional flags to pass to each test command",
255 default="") 255 default="")
256 result.add_option("--ignition", help="Skip tests which don't run in ignition", 256 result.add_option("--ignition", help="Skip tests which don't run in ignition",
257 default=False, action="store_true") 257 default=False, action="store_true")
258 result.add_option("--ignition-turbofan",
259 help="Skip tests which don't run in ignition_turbofan",
260 default=False, action="store_true")
258 result.add_option("--isolates", help="Whether to test isolates", 261 result.add_option("--isolates", help="Whether to test isolates",
259 default=False, action="store_true") 262 default=False, action="store_true")
260 result.add_option("-j", help="The number of parallel tasks to run", 263 result.add_option("-j", help="The number of parallel tasks to run",
261 default=0, type="int") 264 default=0, type="int")
262 result.add_option("-m", "--mode", 265 result.add_option("-m", "--mode",
263 help="The test modes in which to run (comma-separated," 266 help="The test modes in which to run (comma-separated,"
264 " uppercase for ninja and buildbot builds): %s" % MODES.keys (), 267 " uppercase for ninja and buildbot builds): %s" % MODES.keys (),
265 default="release,debug") 268 default="release,debug")
266 result.add_option("--no-harness", "--noharness", 269 result.add_option("--no-harness", "--noharness",
267 help="Run without test harness of a given suite", 270 help="Run without test harness of a given suite",
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 'ppc', 'ppc64'] and \ 716 'ppc', 'ppc64'] and \
714 ARCH_GUESS and arch != ARCH_GUESS 717 ARCH_GUESS and arch != ARCH_GUESS
715 # Find available test suites and read test cases from them. 718 # Find available test suites and read test cases from them.
716 variables = { 719 variables = {
717 "arch": arch, 720 "arch": arch,
718 "asan": options.asan, 721 "asan": options.asan,
719 "deopt_fuzzer": False, 722 "deopt_fuzzer": False,
720 "gc_stress": options.gc_stress, 723 "gc_stress": options.gc_stress,
721 "gcov_coverage": options.gcov_coverage, 724 "gcov_coverage": options.gcov_coverage,
722 "ignition": options.ignition, 725 "ignition": options.ignition,
726 "ignition_turbofan": options.ignition_turbofan,
723 "isolates": options.isolates, 727 "isolates": options.isolates,
724 "mode": MODES[mode]["status_mode"], 728 "mode": MODES[mode]["status_mode"],
725 "no_i18n": options.no_i18n, 729 "no_i18n": options.no_i18n,
726 "no_snap": options.no_snap, 730 "no_snap": options.no_snap,
727 "simulator_run": simulator_run, 731 "simulator_run": simulator_run,
728 "simulator": utils.UseSimulator(arch), 732 "simulator": utils.UseSimulator(arch),
729 "system": utils.GuessOS(), 733 "system": utils.GuessOS(),
730 "tsan": options.tsan, 734 "tsan": options.tsan,
731 "msan": options.msan, 735 "msan": options.msan,
732 "dcheck_always_on": options.dcheck_always_on, 736 "dcheck_always_on": options.dcheck_always_on,
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 "--coverage-dir=%s" % options.sancov_dir]) 846 "--coverage-dir=%s" % options.sancov_dir])
843 except: 847 except:
844 print >> sys.stderr, "Error: Merging sancov files failed." 848 print >> sys.stderr, "Error: Merging sancov files failed."
845 exit_code = 1 849 exit_code = 1
846 850
847 return exit_code 851 return exit_code
848 852
849 853
850 if __name__ == "__main__": 854 if __name__ == "__main__":
851 sys.exit(Main()) 855 sys.exit(Main())
OLDNEW
« no previous file with comments | « tools/run-deopt-fuzzer.py ('k') | tools/testrunner/local/testsuite.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698