add #if guard to tests

This commit is contained in:
Gabor Kiss-Vamosi
2020-02-09 10:59:38 +01:00
parent 114994fa8c
commit eb43ac7b51
6 changed files with 358 additions and 341 deletions

View File

@@ -9,6 +9,9 @@
#include "../../lvgl.h"
#include "../lv_test_assert.h"
#if LV_BUILD_TEST
/*********************
* DEFINES
*********************/
@@ -74,3 +77,4 @@ static void create_copy(void)
lv_test_assert_int_eq(0, lv_obj_count_children(lv_scr_act()), "Screen's children count after delete");
}
#endif