1 //===-- tsan_unit_test_main.cpp -------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file is a part of ThreadSanitizer (TSan), a race detector.
10 //
11 //===----------------------------------------------------------------------===//
12 #include "gtest/gtest.h"
13 
14 namespace __sanitizer {
ReexecDisabled()15 bool ReexecDisabled() {
16   return true;
17 }
18 }
19 
main(int argc,char ** argv)20 int main(int argc, char **argv) {
21   testing::GTEST_FLAG(death_test_style) = "threadsafe";
22   testing::InitGoogleTest(&argc, argv);
23   return RUN_ALL_TESTS();
24 }
25