blob: 42a8078761b79586549d433a3e3911013a30d46c [file] [log] [blame]
Radek Krejcice24ab82015-10-08 15:37:02 +02001/**
Michal Vasko6cf75dd2016-02-03 15:35:11 +01002 * @file config.h
Radek Krejcice24ab82015-10-08 15:37:02 +02003 * @author Radek Krejci <rkrejci@cesnet.cz>
4 * @brief cmocka tests configuration header.
5 *
6 * Copyright (c) 2015 CESNET, z.s.p.o.
7 *
Radek Krejci9b81f5b2016-02-24 13:14:49 +01008 * 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 Vaskoad1cc6a2016-02-26 15:06:06 +010011 *
Radek Krejci9b81f5b2016-02-24 13:14:49 +010012 * https://opensource.org/licenses/BSD-3-Clause
Radek Krejcice24ab82015-10-08 15:37:02 +020013 */
14
Michal Vaskoba065342017-01-30 14:50:08 +010015#ifdef __GNUC__
16# define UNUSED(x) UNUSED_ ## x __attribute__((__unused__))
17#else
18# define UNUSED(x) UNUSED_ ## x
19#endif
20
Michal Vasko3c37b4f2020-01-03 05:11:39 -050021#define TESTS_DIR "@CMAKE_SOURCE_DIR@/tests"
romane15ad542022-07-27 10:03:46 +020022#define BUILD_DIR "@CMAKE_BINARY_DIR@"
Radek Krejcice24ab82015-10-08 15:37:02 +020023
Michal Vasko6cf75dd2016-02-03 15:35:11 +010024@SSH_MACRO@
25@TLS_MACRO@