asan_test_main.cc revision de55be3899b994731ba2d9e168281d608dab3048
1de55be3899b994731ba2d9e168281d608dab3048Alexey Samsonov//===-- asan_test_main.cc -------------------------------------------------===//
2de55be3899b994731ba2d9e168281d608dab3048Alexey Samsonov//
3de55be3899b994731ba2d9e168281d608dab3048Alexey Samsonov//                     The LLVM Compiler Infrastructure
4de55be3899b994731ba2d9e168281d608dab3048Alexey Samsonov//
5de55be3899b994731ba2d9e168281d608dab3048Alexey Samsonov// This file is distributed under the University of Illinois Open Source
6de55be3899b994731ba2d9e168281d608dab3048Alexey Samsonov// License. See LICENSE.TXT for details.
7de55be3899b994731ba2d9e168281d608dab3048Alexey Samsonov//
8de55be3899b994731ba2d9e168281d608dab3048Alexey Samsonov//===----------------------------------------------------------------------===//
9de55be3899b994731ba2d9e168281d608dab3048Alexey Samsonov//
10de55be3899b994731ba2d9e168281d608dab3048Alexey Samsonov// This file is a part of AddressSanitizer, an address sanity checker.
11de55be3899b994731ba2d9e168281d608dab3048Alexey Samsonov//
12de55be3899b994731ba2d9e168281d608dab3048Alexey Samsonov//===----------------------------------------------------------------------===//
13de55be3899b994731ba2d9e168281d608dab3048Alexey Samsonov#include "asan_test_utils.h"
14de55be3899b994731ba2d9e168281d608dab3048Alexey Samsonov
15de55be3899b994731ba2d9e168281d608dab3048Alexey Samsonovint main(int argc, char **argv) {
16de55be3899b994731ba2d9e168281d608dab3048Alexey Samsonov  testing::GTEST_FLAG(death_test_style) = "threadsafe";
17de55be3899b994731ba2d9e168281d608dab3048Alexey Samsonov  testing::InitGoogleTest(&argc, argv);
18de55be3899b994731ba2d9e168281d608dab3048Alexey Samsonov  return RUN_ALL_TESTS();
19de55be3899b994731ba2d9e168281d608dab3048Alexey Samsonov}
20