[all-commits] [llvm/llvm-project] dadc21: Title: [TSAN] Parameterize the hard-coded threshol...

Anh Tuyen Tran via All-commits all-commits at lists.llvm.org
Wed Feb 12 07:53:44 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: dadc214e4d9d09a8a7a9f15780c1201c18f93e05
      https://github.com/llvm/llvm-project/commit/dadc214e4d9d09a8a7a9f15780c1201c18f93e05
  Author: Anh Tuyen Tran <anhtuyen at ca.ibm.com>
  Date:   2020-02-12 (Wed, 12 Feb 2020)

  Changed paths:
    M compiler-rt/test/tsan/CMakeLists.txt
    M compiler-rt/test/tsan/deflake.bash
    M compiler-rt/test/tsan/lit.cfg.py
    M compiler-rt/test/tsan/lit.site.cfg.py.in

  Log Message:
  -----------
  Title: [TSAN] Parameterize the hard-coded threshold of deflake in tsan test

Summary:
A number of testcases in TSAN are designed to deal with intermittent problems
not exist in all executions of the tested program. A script called deflake.bash
runs the executable up to 10 times to deal with the intermittent nature of the tests.

The purpose of this patch is to parameterize the hard-coded threshold above via
--cmake_variables=-DTSAN_TEST_DEFLAKE_THRESHOLD=SomeIntegerValue
When this cmake var is not set, the default value of 10 will be used.

Reviewer: dvyukov (Dmitry Vyukov), eugenis (Evgenii Stepanov), rnk (Reid Kleckner), hubert.reinterpretcast (Hubert Tong), vitalybuka (Vitaly Buka)

Reviewed By: vitalybuka (Vitaly Buka)

Subscribers: mgorny (Michal Gorny), jfb (JF Bastien), steven.zhang (qshanz), llvm-commits (Mailing List llvm-commits), Sanitizers

Tag: LLVM, Sanitizers

Differential Revision: https://reviews.llvm.org/D73707




More information about the All-commits mailing list