Radek Krejci | 1e88003 | 2018-09-20 12:17:12 +0200 | [diff] [blame] | 1 | /** |
Michal Vasko | 3346fef | 2021-05-24 13:40:41 +0200 | [diff] [blame] | 2 | * @file tests_config.h |
Radek Krejci | 1e88003 | 2018-09-20 12:17:12 +0200 | [diff] [blame] | 3 | * @author Radek Krejci <rkrejci@cesnet.cz> |
| 4 | * @brief cmocka tests configuration header. |
| 5 | * |
Michal Vasko | 3346fef | 2021-05-24 13:40:41 +0200 | [diff] [blame] | 6 | * Copyright (c) 2015 - 2021 CESNET, z.s.p.o. |
Radek Krejci | 1e88003 | 2018-09-20 12:17:12 +0200 | [diff] [blame] | 7 | * |
| 8 | * This source code is licensed under BSD 3-Clause License (the "License"). |
| 9 | * You may not use this file except in compliance with the License. |
| 10 | * You may obtain a copy of the License at |
| 11 | * |
| 12 | * https://opensource.org/licenses/BSD-3-Clause |
| 13 | */ |
| 14 | #ifndef LYTEST_CONFIG_H_ |
| 15 | #define LYTEST_CONFIG_H_ |
| 16 | |
Radek Krejci | 1e88003 | 2018-09-20 12:17:12 +0200 | [diff] [blame] | 17 | #define TESTS_SRC "@CMAKE_CURRENT_SOURCE_DIR@" |
| 18 | #define TESTS_BIN "@CMAKE_CURRENT_BINARY_DIR@" |
| 19 | |
Radek Krejci | 0935f41 | 2019-08-20 16:15:18 +0200 | [diff] [blame] | 20 | #define TESTS_DIR_MODULES_YANG TESTS_SRC"/modules/yang" |
| 21 | |
Michal Vasko | 99544ca | 2021-06-29 10:45:19 +0200 | [diff] [blame^] | 22 | /** |
| 23 | * @brief Macro for support of callgrind header and macros. |
| 24 | */ |
| 25 | #cmakedefine HAVE_CALLGRIND |
| 26 | |
Radek Krejci | 1e88003 | 2018-09-20 12:17:12 +0200 | [diff] [blame] | 27 | #endif /* LYTEST_CONFIG_H_ */ |