]>
Commit | Line | Data |
---|---|---|
019ef9a3 SA |
1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
2 | /* | |
3 | * Copyright (C) 2020 Sean Anderson <[email protected]> | |
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 */ |