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

Unified Diff: tools/run-tests.py

Issue 155723005: A64: Synchronize with r19001. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/run-deopt-fuzzer.py ('k') | tools/testrunner/local/utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/run-tests.py
diff --git a/tools/run-tests.py b/tools/run-tests.py
index a10095327dc01e271a9cb2cafd30aceeea7328f1..de45934a218dfee766a739735edf1de5b4a592f3 100755
--- a/tools/run-tests.py
+++ b/tools/run-tests.py
@@ -33,6 +33,7 @@ import multiprocessing
import optparse
import os
from os.path import join
+import platform
import shlex
import subprocess
import sys
@@ -101,6 +102,9 @@ def BuildOptions():
result.add_option("--arch-and-mode",
help="Architecture and mode in the format 'arch.mode'",
default=None)
+ result.add_option("--asan",
+ help="Regard test expectations for ASAN",
+ default=False, action="store_true")
result.add_option("--buildbot",
help="Adapt to path structure used on buildbots",
default=False, action="store_true")
@@ -389,17 +393,20 @@ def Execute(arch, mode, args, options, suites, workspace):
options.extra_flags,
options.no_i18n)
+ # TODO(all): Combine "simulator" and "simulator_run".
simulator_run = not options.dont_skip_simulator_slow_tests and \
arch in ['a64', 'arm', 'mips'] and ARCH_GUESS and arch != ARCH_GUESS
# Find available test suites and read test cases from them.
variables = {
"arch": arch,
+ "asan": options.asan,
"deopt_fuzzer": False,
"gc_stress": options.gc_stress,
"isolates": options.isolates,
"mode": mode,
"no_i18n": options.no_i18n,
"simulator_run": simulator_run,
+ "simulator": utils.UseSimulator(arch),
"system": utils.GuessOS(),
}
all_tests = []
« no previous file with comments | « tools/run-deopt-fuzzer.py ('k') | tools/testrunner/local/utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698