| 1 |
//===-- sanitizer_test_config.h ---------------------------------*- 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 |
// This file is a part of *Sanitizer runtime. |
| 10 |
// |
| 11 |
//===----------------------------------------------------------------------===// |
| 12 |
#if !defined(INCLUDED_FROM_SANITIZER_TEST_UTILS_H) |
| 13 |
# error "This file should be included into sanitizer_test_utils.h only" |
| 14 |
#endif |
| 15 |
|
| 16 |
#ifndef SANITIZER_TEST_CONFIG_H |
| 17 |
#define SANITIZER_TEST_CONFIG_H |
| 18 |
|
| 19 |
#include <vector> |
| 20 |
#include <string> |
| 21 |
#include <map> |
| 22 |
|
| 23 |
#if SANITIZER_USE_DEJAGNU_GTEST |
| 24 |
# include "dejagnu-gtest.h" |
| 25 |
#else |
| 26 |
# include "gtest/gtest.h" |
| 27 |
#endif |
| 28 |
|
| 29 |
#endif // SANITIZER_TEST_CONFIG_H |