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