test fix build error
This commit is contained in:
@@ -25,6 +25,7 @@ include ../lvgl.mk
|
||||
|
||||
CSRCS += ${TEST_SRC}
|
||||
CSRCS += src/lv_test_init.c
|
||||
CSRCS += src/lv_test_indev.c
|
||||
CSRCS := $(CSRCS) $(EXTRA_CSRCS)
|
||||
|
||||
OBJEXT ?= .o
|
||||
|
||||
@@ -58,7 +58,7 @@ def build_test(defines, test_name):
|
||||
test_file_name = test_name + ".c"
|
||||
test_file_runner_name = test_name + "_Runner.c"
|
||||
test_file_runner_name = test_file_runner_name.replace("/test_cases/", "/test_runners/")
|
||||
csrcs = " EXTRA_CSRCS=\"unity/unity.c unity/unity_support.c src/lv_test_indev.c src/test_fonts/font_1.c src/test_fonts/font_2.c src/test_fonts/font_3.c \" "
|
||||
csrcs = " EXTRA_CSRCS=\"unity/unity.c unity/unity_support.c src/test_fonts/font_1.c src/test_fonts/font_2.c src/test_fonts/font_3.c \" "
|
||||
# -s makes it silence
|
||||
cmd = "make -s -j BIN=test.bin MAINSRC=" + test_file_name + " TEST_SRC=" + test_file_runner_name + csrcs + " LVGL_DIR_NAME=" + lvgldirname + " DEFINES=" + d_all + " OPTIMIZATION=" + optimization
|
||||
|
||||
|
||||
Reference in New Issue
Block a user