tsan: switch sync test from EXPECT to CHECK
authorDmitry Vyukov <dvyukov@google.com>
Wed, 27 Oct 2021 08:57:42 +0000 (10:57 +0200)
committerDmitry Vyukov <dvyukov@google.com>
Wed, 27 Oct 2021 13:11:31 +0000 (15:11 +0200)
commitf50cee2f4bad4a89626f3856c72e6a101bc4d199
tree09ccb99ae59361e4b2970b125b60bd3268727f90
parentf719b794bcaa1df8fa82659d6d4e754c77d2f94e
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
compiler-rt/lib/tsan/tests/unit/tsan_sync_test.cpp