blob: 2136c1b0de0a55d73222ca68bd26375360e1e46a [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
Radek Krejci695d4fa2015-10-22 13:23:54 +020021#define TESTS_DIR "@CMAKE_SOURCE_DIR@/tests/"
Radek Krejcice24ab82015-10-08 15:37:02 +020022
Michal Vasko6cf75dd2016-02-03 15:35:11 +010023@SSH_MACRO@
24@TLS_MACRO@