Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1697)

Unified Diff: mojo/tools/mojob.py

Issue 774943007: Two tweaks for asan builds (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« mojo/tools/get_test_list.py ('K') | « mojo/tools/get_test_list.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/mojob.py
diff --git a/mojo/tools/mojob.py b/mojo/tools/mojob.py
index 554702450677d1a1508da5c04b67b31453b5cdbd..4aeddfe0d614f02974a1977b1d06e9b12fb6b672 100755
--- a/mojo/tools/mojob.py
+++ b/mojo/tools/mojob.py
@@ -149,6 +149,9 @@ def build(config):
def _run_tests(config, test_types):
"""Runs the tests of the given type(s) for the given config."""
+ if _get_gn_arg_value(_get_out_dir(config), 'is_asan') == 'true':
viettrungluu 2014/12/03 22:15:59 Ugh, but I guess I can live with it for now. Howe
sky 2014/12/03 23:15:15 Done.
+ config.values["sanitizer"] = Config.SANITIZER_ASAN
+
assert isinstance(test_types, list)
config = deepcopy(config)
config.values['test_types'] = test_types
« mojo/tools/get_test_list.py ('K') | « mojo/tools/get_test_list.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698