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

Unified Diff: tools/run-tests.py

Issue 642023002: Introduce a tsan suppressions file (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 2 months 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 | « no previous file | tools/sanitizers/tsan_suppressions.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/run-tests.py
diff --git a/tools/run-tests.py b/tools/run-tests.py
index 670e574378549fade116805a0357ae839e54f5a9..410f2535ff782671178821161a6eaf62fb35ac8f 100755
--- a/tools/run-tests.py
+++ b/tools/run-tests.py
@@ -305,6 +305,11 @@ def ProcessOptions(options):
if options.tsan:
VARIANTS = ["default"]
+ suppressions_file = os.path.join(os.path.dirname(os.path.abspath(__file__)),
+ 'sanitizers', 'tsan_suppressions.txt')
+ tsan_options = '%s suppressions=%s' % (
+ os.environ.get('TSAN_OPTIONS', ''), suppressions_file)
+ os.environ['TSAN_OPTIONS'] = tsan_options
if options.j == 0:
options.j = multiprocessing.cpu_count()
« no previous file with comments | « no previous file | tools/sanitizers/tsan_suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698