| 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()
|
|
|