| 1 | //===-- interception_test_main.cpp ----------------------------------------===// |
| 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 | // This file is a part of AddressSanitizer, an address sanity checker. |
| 10 | // |
| 11 | // Testing the machinery for providing replacements/wrappers for system |
| 12 | // functions. |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
| 15 | #include "gtest/gtest.h" |
| 16 | |
| 17 | int main(int argc, char **argv) { |
| 18 | testing::GTEST_FLAG(death_test_style) = "threadsafe" ; |
| 19 | testing::InitGoogleTest(&argc, argv); |
| 20 | return RUN_ALL_TESTS(); |
| 21 | } |
| 22 | |