1
0
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:
Gabor Kiss-Vamosi 2021-07-01 21:14:00 +02:00
parent 77cedfa08f
commit 90438603ad
3 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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"

View File

@ -1,5 +1,5 @@
#include "../lvgl.h"
#if LV_BUILD_TEST
#include "../lvgl.h"
#include "unity/unity.h"