Add an --msan flag to run-tests.py.
authormachenbach@chromium.org <machenbach@chromium.org>
Wed, 22 Oct 2014 12:54:35 +0000 (12:54 +0000)
committermachenbach@chromium.org <machenbach@chromium.org>
Wed, 22 Oct 2014 12:54:35 +0000 (12:54 +0000)
Currently a no-op and added only for consistency with ASan/TSan.

BUG=chromium:425187
R=machenbach@chromium.org
LOG=N

Review URL: https://codereview.chromium.org/667903004

Patch from Sergey Matveev <earthdok@chromium.org>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24805 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

tools/run-deopt-fuzzer.py
tools/run-tests.py

index 57cb6b2..bd474f9 100755 (executable)
@@ -389,6 +389,7 @@ def Execute(arch, mode, args, options, suites, workspace):
     "simulator": utils.UseSimulator(arch),
     "system": utils.GuessOS(),
     "tsan": False,
+    "msan": False,
   }
   all_tests = []
   num_tests = 0
index 66d1677..dc73a40 100755 (executable)
@@ -257,6 +257,9 @@ def BuildOptions():
                     default="v8tests")
   result.add_option("--random-seed", default=0, dest="random_seed",
                     help="Default seed for initializing random generator")
+  result.add_option("--msan",
+                    help="Regard test expectations for MSAN",
+                    default=False, action="store_true")
   return result
 
 
@@ -509,6 +512,7 @@ def Execute(arch, mode, args, options, suites, workspace):
     "simulator": utils.UseSimulator(arch),
     "system": utils.GuessOS(),
     "tsan": options.tsan,
+    "msan": options.msan,
   }
   all_tests = []
   num_tests = 0