xref: /openbsd-src/gnu/llvm/compiler-rt/lib/interception/tests/interception_test_main.cpp (revision 3cab2bb3f667058bece8e38b12449a63a9d73c4b)
1*3cab2bb3Spatrick //===-- interception_test_main.cpp ----------------------------------------===//
2*3cab2bb3Spatrick //
3*3cab2bb3Spatrick // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*3cab2bb3Spatrick // See https://llvm.org/LICENSE.txt for license information.
5*3cab2bb3Spatrick // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*3cab2bb3Spatrick //
7*3cab2bb3Spatrick //===----------------------------------------------------------------------===//
8*3cab2bb3Spatrick //
9*3cab2bb3Spatrick // This file is a part of AddressSanitizer, an address sanity checker.
10*3cab2bb3Spatrick //
11*3cab2bb3Spatrick // Testing the machinery for providing replacements/wrappers for system
12*3cab2bb3Spatrick // functions.
13*3cab2bb3Spatrick //===----------------------------------------------------------------------===//
14*3cab2bb3Spatrick 
15*3cab2bb3Spatrick #include "gtest/gtest.h"
16*3cab2bb3Spatrick 
main(int argc,char ** argv)17*3cab2bb3Spatrick int main(int argc, char **argv) {
18*3cab2bb3Spatrick   testing::GTEST_FLAG(death_test_style) = "threadsafe";
19*3cab2bb3Spatrick   testing::InitGoogleTest(&argc, argv);
20*3cab2bb3Spatrick   return RUN_ALL_TESTS();
21*3cab2bb3Spatrick }
22