Reviewers: dcarney,

Message:
PTAL

Description:
Add the ability to disable tests in nosnap mode.

BUG=v8:3216

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

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

Affected files (+5, -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 b809fdf988029bc623372d7152d2829ce5aef2cc..a6cb1f06ecff3bdc4d6f2797e064ed9370207bda 100755
--- a/tools/run-deopt-fuzzer.py
+++ b/tools/run-deopt-fuzzer.py
@@ -373,6 +373,7 @@ def Execute(arch, mode, args, options, suites, workspace):
     "isolates": options.isolates,
     "mode": mode,
     "no_i18n": False,
+    "no_snap": False,
     "simulator": utils.UseSimulator(arch),
     "system": utils.GuessOS(),
   }
Index: tools/run-tests.py
diff --git a/tools/run-tests.py b/tools/run-tests.py
index cc1d480b45ac422e6d5702f574e637f4e8bfb85f..e6cb5a59ad6d34c70502a05b47c4206ec3e771e3 100755
--- a/tools/run-tests.py
+++ b/tools/run-tests.py
@@ -149,6 +149,9 @@ def BuildOptions():
   result.add_option("--no-presubmit", "--nopresubmit",
                     help='Skip presubmit checks',
default=False, dest="no_presubmit", action="store_true")
+  result.add_option("--no-snap", "--nosnap",
+                    help='Test a build compiled without snapshot.',
+                    default=False, dest="no_snap", action="store_true")
   result.add_option("--no-stress", "--nostress",
help="Don't run crankshaft --always-opt --stress-op test",
                     default=False, dest="no_stress", action="store_true")
@@ -407,6 +410,7 @@ def Execute(arch, mode, args, options, suites, workspace):
     "isolates": options.isolates,
     "mode": mode,
     "no_i18n": options.no_i18n,
+    "no_snap": options.no_snap,
     "simulator_run": simulator_run,
     "simulator": utils.UseSimulator(arch),
     "system": utils.GuessOS(),


--
--
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/d/optout.

Reply via email to