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

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: review feedback 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
« no previous file with comments | « 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..7225288ea5b2a34fbbe45ab57bbbede8880a3971 100755
--- a/mojo/tools/mojob.py
+++ b/mojo/tools/mojob.py
@@ -153,6 +153,9 @@ def _run_tests(config, test_types):
config = deepcopy(config)
config.values['test_types'] = test_types
+ if _get_gn_arg_value(_get_out_dir(config), 'is_asan') == 'true':
+ config.values["sanitizer"] = Config.SANITIZER_ASAN
+
test_list = GetTestList(config)
dry_run = config.values.get('dry_run')
final_exit_code = 0
« no previous file with comments | « mojo/tools/get_test_list.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698