Radek Krejci | 58685c1 | 2015-10-05 12:35:06 +0200 | [diff] [blame] | 1 | /** |
Radek Krejci | c16b581 | 2016-09-27 15:48:43 +0200 | [diff] [blame] | 2 | * @file config.h |
Radek Krejci | 58685c1 | 2015-10-05 12:35:06 +0200 | [diff] [blame] | 3 | * @author Radek Krejci <rkrejci@cesnet.cz> |
| 4 | * @brief cmocka tests configuration header. |
| 5 | * |
Michal Vasko | 7d3ad5a | 2018-03-27 14:22:19 +0200 | [diff] [blame] | 6 | * Copyright (c) 2015 - 2018 CESNET, z.s.p.o. |
Radek Krejci | 58685c1 | 2015-10-05 12:35:06 +0200 | [diff] [blame] | 7 | * |
Radek Krejci | 54f6fb3 | 2016-02-24 12:56:39 +0100 | [diff] [blame] | 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 |
Michal Vasko | 8de098c | 2016-02-26 10:00:25 +0100 | [diff] [blame] | 11 | * |
Radek Krejci | 54f6fb3 | 2016-02-24 12:56:39 +0100 | [diff] [blame] | 12 | * https://opensource.org/licenses/BSD-3-Clause |
Radek Krejci | 58685c1 | 2015-10-05 12:35:06 +0200 | [diff] [blame] | 13 | */ |
Michal Vasko | 7d3ad5a | 2018-03-27 14:22:19 +0200 | [diff] [blame] | 14 | #ifndef LYTEST_CONFIG_H_ |
| 15 | #define LYTEST_CONFIG_H_ |
Radek Krejci | 58685c1 | 2015-10-05 12:35:06 +0200 | [diff] [blame] | 16 | |
Michal Vasko | 13af260 | 2018-07-10 15:44:24 +0200 | [diff] [blame] | 17 | #define UNUSED(x) @COMPILER_UNUSED_ATTR@ |
| 18 | |
Alexandre Snarskii | 8e5e071 | 2018-09-03 18:35:38 +0300 | [diff] [blame] | 19 | #define TESTS_DIR "@TESTS_DIR@" |
Michal Vasko | 7d3ad5a | 2018-03-27 14:22:19 +0200 | [diff] [blame] | 20 | #define BUILD_DIR "@PROJECT_BINARY_DIR@" |
| 21 | |
Michal Vasko | 24affa0 | 2018-04-03 09:06:06 +0200 | [diff] [blame] | 22 | #ifdef LY_ENABLED_CACHE |
| 23 | int lyd_list_has_keys(struct lyd_node *list); |
| 24 | #endif |
| 25 | |
Michal Vasko | 7d3ad5a | 2018-03-27 14:22:19 +0200 | [diff] [blame] | 26 | #endif /* LYTEST_CONFIG_H_ */ |