Skip to content

Commit

Permalink
ci(test): fix include path (#6141)
Browse files Browse the repository at this point in the history
  • Loading branch information
kisvegabor committed May 13, 2024
1 parent bb9ff17 commit e3f70a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions tests/src/test_libs/rnd_unicodes/lv_rnd_unicodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* @file lv_rnd_unicodes.c
*
*/
#if LV_BUILD_TEST

/*********************
* INCLUDES
Expand Down Expand Up @@ -63,3 +64,5 @@ int lv_random_utf8_chars(uint8_t * buf, int buf_len, const uint32_t * ranges, ui
/**********************
* STATIC FUNCTIONS
**********************/

#endif /*LV_BUILD_TEST*/
5 changes: 4 additions & 1 deletion tests/src/test_libs/rnd_unicodes/lv_rnd_unicodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* @file lv_rnd_unicodes.h
*
*/
#if LV_BUILD_TEST

#ifndef LV_RND_UNICODES_H
#define LV_RND_UNICODES_H
Expand All @@ -13,7 +14,7 @@ extern "C" {
/*********************
* INCLUDES
*********************/
#include "../lvgl.h"
#include "../../../../lvgl.h"

/*********************
* DEFINES
Expand Down Expand Up @@ -54,3 +55,5 @@ int lv_random_utf8_chars(uint8_t * buf, int buf_len, const uint32_t * ranges, ui
#endif

#endif /*LV_RND_UNICODES_H*/

#endif /*LV_BUILD_TEST*/

0 comments on commit e3f70a2

Please sign in to comment.