[Sanitizer tests] Add sanitizer_test_config.h to make the inclusion of gtest.h condit...
[blocksruntime.git] / lib / sanitizer_common / tests / sanitizer_test_config.h
blobbdf614606d6aa3acd89d38497869e3b2c73c47e3
1 //===-- sanitizer_test_config.h ---------------------------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file is a part of *Sanitizer runtime.
12 //===----------------------------------------------------------------------===//
13 #if !defined(INCLUDED_FROM_SANITIZER_TEST_UTILS_H)
14 # error "This file should be included into sanitizer_test_utils.h only"
15 #endif
17 #ifndef SANITIZER_TEST_CONFIG_H
18 #define SANITIZER_TEST_CONFIG_H
20 #include <vector>
21 #include <string>
22 #include <map>
24 #if SANITIZER_USE_DEJAGNU_GTEST
25 # include "dejagnu-gtest.h"
26 #else
27 # include "gtest/gtest.h"
28 #endif
30 #endif // SANITIZER_TEST_CONFIG_H