fix(test) do not including anything in test files when not running tests
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
|
#if LV_BUILD_TEST
|
||||||
#include "../lvgl.h"
|
#include "../lvgl.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#if LV_BUILD_TEST
|
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include "lv_test_indev.h"
|
#include "lv_test_indev.h"
|
||||||
#include "lv_test_init.h"
|
#include "lv_test_init.h"
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
|
#if LV_BUILD_TEST && !defined(LV_BUILD_TEST_NO_MAIN)
|
||||||
#include "../lvgl.h"
|
#include "../lvgl.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#if LV_BUILD_TEST && !defined(LV_BUILD_TEST_NO_MAIN)
|
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include "lv_test_init.h"
|
#include "lv_test_init.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#include "../lvgl.h"
|
|
||||||
#if LV_BUILD_TEST
|
#if LV_BUILD_TEST
|
||||||
|
#include "../lvgl.h"
|
||||||
|
|
||||||
#include "unity/unity.h"
|
#include "unity/unity.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user