diff options
author | Gabor Kiss-Vamosi <kisvegabor@gmail.com> | 2021-06-02 19:58:15 +0200 |
---|---|---|
committer | Gabor Kiss-Vamosi <kisvegabor@gmail.com> | 2021-06-18 14:13:41 +0200 |
commit | c12a22ee87681d1344696a3b9531e9100808eb85 (patch) | |
tree | ef7d02e4294fa1125251d1d7d687ff57de972db8 /tests/unity/unity.h | |
parent | c26bcf1cc6e09b3c5d013e204d3b03badc614664 (diff) | |
download | lvgl-c12a22ee87681d1344696a3b9531e9100808eb85.tar.gz lvgl-c12a22ee87681d1344696a3b9531e9100808eb85.zip |
fix(test) add #if guard to exclude test related files from the build
Diffstat (limited to 'tests/unity/unity.h')
-rw-r--r-- | tests/unity/unity.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unity/unity.h b/tests/unity/unity.h index ab986c4b2..0def296f9 100644 --- a/tests/unity/unity.h +++ b/tests/unity/unity.h @@ -3,7 +3,7 @@ Copyright (c) 2007-21 Mike Karlesky, Mark VanderVoord, Greg Williams [Released under MIT License. Please refer to license.txt for details] ========================================== */ - +#if LV_BUILD_TEST #ifndef UNITY_FRAMEWORK_H #define UNITY_FRAMEWORK_H #define UNITY @@ -659,3 +659,5 @@ void verifyTest(void); } #endif #endif + +#endif /*LV_BUILD_TEST*/ |