]>
git.proxmox.com Git - rustc.git/blob - src/compiler-rt/lib/sanitizer_common/tests/sanitizer_test_main.cc
1 //===-- sanitizer_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/AddressSanitizer runtime.
12 //===----------------------------------------------------------------------===//
13 #include "gtest/gtest.h"
14 #include "sanitizer_common/sanitizer_flags.h"
18 int main(int argc
, char **argv
) {
20 testing::GTEST_FLAG(death_test_style
) = "threadsafe";
21 testing::InitGoogleTest(&argc
, argv
);
22 SetCommonFlagsDefaults();
23 return RUN_ALL_TESTS();