Reviewers: Jakob,

Message:
PTAL

Description:
Make 'ASAN' configurable in test status file.

BUG=

Please review this at https://codereview.chromium.org/149173006/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+8, -0 lines):
  M tools/run-deopt-fuzzer.py
  M tools/run-tests.py


Index: tools/run-deopt-fuzzer.py
diff --git a/tools/run-deopt-fuzzer.py b/tools/run-deopt-fuzzer.py
index 401ae046ed9a2ae3abc60ca5ebd2dcf1053c8109..c41dacbbe0831dd1fd02a7add8a5364b695e1c7f 100755
--- a/tools/run-deopt-fuzzer.py
+++ b/tools/run-deopt-fuzzer.py
@@ -154,6 +154,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")
@@ -364,6 +367,7 @@ def Execute(arch, mode, args, options, suites, workspace):
   # Find available test suites and read test cases from them.
   variables = {
     "arch": arch,
+    "asan": options.asan,
     "deopt_fuzzer": True,
     "gc_stress": False,
     "isolates": options.isolates,
Index: tools/run-tests.py
diff --git a/tools/run-tests.py b/tools/run-tests.py
index e032a55f508bbadd6d950ccd4bc3358848f893d7..f905c03d3f63789d39254ec978966e830f769653 100755
--- a/tools/run-tests.py
+++ b/tools/run-tests.py
@@ -99,6 +99,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")
@@ -386,6 +389,7 @@ def Execute(arch, mode, args, options, suites, workspace):
   # 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,


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to