test: Add a flag for tests that need console recording
[platform/kernel/u-boot.git] / include / test / export.h
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 */