[all-commits] [llvm/llvm-project] f50cee: tsan: switch sync test from EXPECT to CHECK

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Wed Oct 27 06:11:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f50cee2f4bad4a89626f3856c72e6a101bc4d199
      https://github.com/llvm/llvm-project/commit/f50cee2f4bad4a89626f3856c72e6a101bc4d199
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-10-27 (Wed, 27 Oct 2021)

  Changed paths:
    M compiler-rt/lib/tsan/tests/unit/tsan_sync_test.cpp

  Log Message:
  -----------
  tsan: switch sync test from EXPECT to CHECK

Gtest's EXPECT calls whole lot of libc functions
(mem*, malloc) even when EXPECT does not fail.
This does not play well with tsan runtime unit tests
b/c e.g. we call some EXPECTs with runtime mutexes locked.

Reviewed By: melver

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




More information about the All-commits mailing list