chore(test) improve prints
This commit is contained in:
@@ -42,7 +42,7 @@ OBJS = $(AOBJS) $(COBJS)
|
|||||||
all: default
|
all: default
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
$(CC) $(CFLAGS) -c $< -o $@
|
@$(CC) $(CFLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
|
||||||
default: $(AOBJS) $(COBJS) $(MAINOBJ)
|
default: $(AOBJS) $(COBJS) $(MAINOBJ)
|
||||||
|
|||||||
@@ -9,12 +9,12 @@ lvgldirname = '"' + lvgldirname + '"'
|
|||||||
base_defines = '"-DLV_CONF_PATH=' + lvgldirname +'/tests/lv_test_conf.h -DLV_BUILD_TEST"'
|
base_defines = '"-DLV_CONF_PATH=' + lvgldirname +'/tests/lv_test_conf.h -DLV_BUILD_TEST"'
|
||||||
optimization = '"-O3 -g0"'
|
optimization = '"-O3 -g0"'
|
||||||
|
|
||||||
def build(name, defines, test_name):
|
def build(defines, test_name):
|
||||||
global base_defines, optimization
|
global base_defines, optimization
|
||||||
|
|
||||||
print("==========================================")
|
print("~~~~~~~~~~~~~~~~~~~~~~~~")
|
||||||
print(name)
|
print(test_name)
|
||||||
print("==========================================")
|
print("~~~~~~~~~~~~~~~~~~~~~~~~")
|
||||||
|
|
||||||
d_all = base_defines[:-1] + " ";
|
d_all = base_defines[:-1] + " ";
|
||||||
|
|
||||||
|
|||||||
@@ -7,9 +7,14 @@ import test
|
|||||||
|
|
||||||
files = test.prepare()
|
files = test.prepare()
|
||||||
|
|
||||||
|
print("============================================")
|
||||||
|
print("Minimal config, 16 bit color depth")
|
||||||
|
print("============================================")
|
||||||
|
print("")
|
||||||
|
|
||||||
for f in files:
|
for f in files:
|
||||||
name = f[:-2] #test_foo.c -> test_foo
|
name = f[:-2] #test_foo.c -> test_foo
|
||||||
build.build("Minimal config, 16 bit color depth", defines.minimal_16bit, name)
|
build.build(defines.minimal_16bit, name)
|
||||||
|
|
||||||
|
|
||||||
#build("Minimal config monochrome", minimal_monochrome)
|
#build("Minimal config monochrome", minimal_monochrome)
|
||||||
|
|||||||
Reference in New Issue
Block a user