xref: /freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/tests/rtsan_test_main.cpp (revision 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583)
1 //===--- rtsan_test_main.cpp - Realtime Sanitizer ---------------*- C++ -*-===//
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 //===----------------------------------------------------------------------===//
10 
11 #include "sanitizer_test_utils.h"
12 
main(int argc,char ** argv)13 int main(int argc, char **argv) {
14   testing::GTEST_FLAG(death_test_style) = "threadsafe";
15   testing::InitGoogleTest(&argc, argv);
16   return RUN_ALL_TESTS();
17 }
18