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_internals.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_internals.h')
-rw-r--r-- | tests/unity/unity_internals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unity/unity_internals.h b/tests/unity/unity_internals.h index 75c2df6f7..46eb1dd76 100644 --- a/tests/unity/unity_internals.h +++ b/tests/unity/unity_internals.h @@ -3,6 +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_INTERNALS_H #define UNITY_INTERNALS_H @@ -1037,3 +1038,5 @@ int UnityTestMatches(void); /* End of UNITY_INTERNALS_H */ #endif + +#endif /*LV_BUILD_TEST*/ |