From e48e3e53ae407eff1eb0e967df4f1e02c430f644 Mon Sep 17 00:00:00 2001 From: "machenbach@chromium.org" Date: Wed, 22 Oct 2014 12:54:35 +0000 Subject: [PATCH] Add an --msan flag to run-tests.py. 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 . git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24805 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- tools/run-deopt-fuzzer.py | 1 + tools/run-tests.py | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/tools/run-deopt-fuzzer.py b/tools/run-deopt-fuzzer.py index 57cb6b2..bd474f9 100755 --- a/tools/run-deopt-fuzzer.py +++ b/tools/run-deopt-fuzzer.py @@ -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 diff --git a/tools/run-tests.py b/tools/run-tests.py index 66d1677..dc73a40 100755 --- a/tools/run-tests.py +++ b/tools/run-tests.py @@ -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 -- 2.7.4