From 810725cf1c9f1d9623c80434fc10b2135e421ae1 Mon Sep 17 00:00:00 2001
From: Craig Tiller <ctiller@google.com>
Date: Tue, 12 May 2015 09:44:41 -0700
Subject: [PATCH] Allow running ASAN without leak checking

---
 tools/run_tests/run_tests.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index 50fdec7f5f..de6972baff 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -286,6 +286,8 @@ _CONFIGS = {
     'ubsan': SimpleConfig('ubsan'),
     'asan': SimpleConfig('asan', environ={
         'ASAN_OPTIONS': 'detect_leaks=1:color=always:suppressions=tools/tsan_suppressions.txt'}),
+    'asan-noleaks': SimpleConfig('asan', environ={
+        'ASAN_OPTIONS': 'detect_leaks=0:color=always:suppressions=tools/tsan_suppressions.txt'}),
     'gcov': SimpleConfig('gcov'),
     'memcheck': ValgrindConfig('valgrind', 'memcheck', ['--leak-check=full']),
     'helgrind': ValgrindConfig('dbg', 'helgrind')
-- 
GitLab