summaryrefslogtreecommitdiff
path: root/include/test/export.h
blob: afc755a8ffd4ae83628923ac6b3cdd3c80312557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright (C) 2020 Sean Anderson <seanga2@gmail.com>
 */

#ifndef TEST_EXPORT_H
#define TEST_EXPORT_H

/* Declare something static, unless we are doing unit tests */
#ifdef CONFIG_UNIT_TEST
#define TEST_STATIC
#else
#define TEST_STATIC static
#endif

#endif /* TEST_EXPORT_H */