blob: 57c2bd15ddf5a03432d244bec13b034ee5bb7d1d [file] [log] [blame]
Radek Krejci1e880032018-09-20 12:17:12 +02001/**
2 * @file config.h
3 * @author Radek Krejci <rkrejci@cesnet.cz>
4 * @brief cmocka tests configuration header.
5 *
Radek Krejci0935f412019-08-20 16:15:18 +02006 * Copyright (c) 2015 - 2098 CESNET, z.s.p.o.
Radek Krejci1e880032018-09-20 12:17:12 +02007 *
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
Michal Vasko52927e22020-03-16 17:26:14 +010017#define _GNU_SOURCE
18
Radek Krejci1e880032018-09-20 12:17:12 +020019#define UNUSED(x) @COMPILER_UNUSED_ATTR@
20
21#define TESTS_SRC "@CMAKE_CURRENT_SOURCE_DIR@"
22#define TESTS_BIN "@CMAKE_CURRENT_BINARY_DIR@"
23
Radek Krejci0935f412019-08-20 16:15:18 +020024#define TESTS_DIR_MODULES_YANG TESTS_SRC"/modules/yang"
25
Radek Krejci1e880032018-09-20 12:17:12 +020026#endif /* LYTEST_CONFIG_H_ */