[ASan] Update sanitizer_common and asan test_util headers to support building on...
[blocksruntime.git] / lib / sanitizer_common / tests / sanitizer_test_main.cc
blobb7fd3dafab267df0fe35d5c02233b1b77f326a62
1 //===-- sanitizer_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/AddressSanitizer runtime.
12 //===----------------------------------------------------------------------===//
13 #include "gtest/gtest.h"
15 const char *argv0;
17 int main(int argc, char **argv) {
18 argv0 = argv[0];
19 testing::GTEST_FLAG(death_test_style) = "threadsafe";
20 testing::InitGoogleTest(&argc, argv);
21 return RUN_ALL_TESTS();