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 <earthdok@chromium.org>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24805 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
machenbach@chromium.org 2014-10-22 12:54:35 +00:00
parent 846dfa1a84
commit e48e3e53ae
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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