]>
git.proxmox.com Git - rustc.git/blob - src/compiler-rt/lib/tsan/tests/unit/tsan_unit_test_main.cc
1 //===-- tsan_unit_test_main.cc --------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file is a part of ThreadSanitizer (TSan), a race detector.
12 //===----------------------------------------------------------------------===//
13 #include "gtest/gtest.h"
15 namespace __sanitizer
{
16 bool ReexecDisabled() {
21 int main(int argc
, char **argv
) {
22 testing::GTEST_FLAG(death_test_style
) = "threadsafe";
23 testing::InitGoogleTest(&argc
, argv
);
24 return RUN_ALL_TESTS();