Sean Anderson | 6e887ee | 2020-06-24 06:41:09 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
2 | /* | ||||
3 | * Copyright (C) 2020 Sean Anderson <seanga2@gmail.com> | ||||
4 | */ | ||||
5 | |||||
6 | #ifndef TEST_EXPORT_H | ||||
7 | #define TEST_EXPORT_H | ||||
8 | |||||
9 | /* Declare something static, unless we are doing unit tests */ | ||||
10 | #ifdef CONFIG_UNIT_TEST | ||||
11 | #define TEST_STATIC | ||||
12 | #else | ||||
13 | #define TEST_STATIC static | ||||
14 | #endif | ||||
15 | |||||
16 | #endif /* TEST_EXPORT_H */ |