1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-02-04 07:13:00 +08:00

ci(test): fix include path (#6141)

This commit is contained in:
Gabor Kiss-Vamosi 2024-05-13 19:08:56 +02:00 committed by GitHub
parent bb9ff17af1
commit e3f70a2987
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -2,6 +2,7 @@
* @file lv_rnd_unicodes.c * @file lv_rnd_unicodes.c
* *
*/ */
#if LV_BUILD_TEST
/********************* /*********************
* INCLUDES * INCLUDES
@ -63,3 +64,5 @@ int lv_random_utf8_chars(uint8_t * buf, int buf_len, const uint32_t * ranges, ui
/********************** /**********************
* STATIC FUNCTIONS * STATIC FUNCTIONS
**********************/ **********************/
#endif /*LV_BUILD_TEST*/

View File

@ -2,6 +2,7 @@
* @file lv_rnd_unicodes.h * @file lv_rnd_unicodes.h
* *
*/ */
#if LV_BUILD_TEST
#ifndef LV_RND_UNICODES_H #ifndef LV_RND_UNICODES_H
#define LV_RND_UNICODES_H #define LV_RND_UNICODES_H
@ -13,7 +14,7 @@ extern "C" {
/********************* /*********************
* INCLUDES * INCLUDES
*********************/ *********************/
#include "../lvgl.h" #include "../../../../lvgl.h"
/********************* /*********************
* DEFINES * DEFINES
@ -54,3 +55,5 @@ int lv_random_utf8_chars(uint8_t * buf, int buf_len, const uint32_t * ranges, ui
#endif #endif
#endif /*LV_RND_UNICODES_H*/ #endif /*LV_RND_UNICODES_H*/
#endif /*LV_BUILD_TEST*/