mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
fix(test) do not including anything in test files when not running tests
This commit is contained in:
parent
77cedfa08f
commit
90438603ad
@ -1,8 +1,8 @@
|
||||
#if LV_BUILD_TEST
|
||||
#include "../lvgl.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#if LV_BUILD_TEST
|
||||
#include <sys/time.h>
|
||||
#include "lv_test_indev.h"
|
||||
#include "lv_test_init.h"
|
||||
|
@ -1,8 +1,8 @@
|
||||
#if LV_BUILD_TEST && !defined(LV_BUILD_TEST_NO_MAIN)
|
||||
#include "../lvgl.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#if LV_BUILD_TEST && !defined(LV_BUILD_TEST_NO_MAIN)
|
||||
#include <sys/time.h>
|
||||
#include "lv_test_init.h"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "../lvgl.h"
|
||||
#if LV_BUILD_TEST
|
||||
#include "../lvgl.h"
|
||||
|
||||
#include "unity/unity.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user