fix(test) add #if guard to exclude test related files from the build

This commit is contained in:
Gabor Kiss-Vamosi
2021-06-02 19:58:15 +02:00
parent dde9ceaa53
commit fc364a466c
4 changed files with 13 additions and 2 deletions

View File

@@ -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*/