Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(test) do not including anything in test files when not running tests
  • Loading branch information
kisvegabor committed Jul 1, 2021
1 parent 77cedfa commit 9043860
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/src/lv_test_indev.c
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/src/lv_test_main.c
@@ -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"

Expand Down
2 changes: 1 addition & 1 deletion tests/src/test_cases/_test_template.c
@@ -1,5 +1,5 @@
#include "../lvgl.h"
#if LV_BUILD_TEST
#include "../lvgl.h"

#include "unity/unity.h"

Expand Down

0 comments on commit 9043860

Please sign in to comment.