Home | History | Annotate | Download | only in unit
      1 //===-- tsan_unit_test_main.cc --------------------------------------------===//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is distributed under the University of Illinois Open Source
      6 // License. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 //
     10 // This file is a part of ThreadSanitizer (TSan), a race detector.
     11 //
     12 //===----------------------------------------------------------------------===//
     13 #include "gtest/gtest.h"
     14 
     15 int main(int argc, char **argv) {
     16   testing::GTEST_FLAG(death_test_style) = "threadsafe";
     17   testing::InitGoogleTest(&argc, argv);
     18   return RUN_ALL_TESTS();
     19 }
     20