chore(test) improve prints

This commit is contained in:
Gabor Kiss-Vamosi
2021-06-03 14:07:25 +02:00
parent 7610d38bb0
commit ea8bed34b4
3 changed files with 11 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ OBJS = $(AOBJS) $(COBJS)
all: default
%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@
@$(CC) $(CFLAGS) -c $< -o $@
default: $(AOBJS) $(COBJS) $(MAINOBJ)

View File

@@ -9,12 +9,12 @@ lvgldirname = '"' + lvgldirname + '"'
base_defines = '"-DLV_CONF_PATH=' + lvgldirname +'/tests/lv_test_conf.h -DLV_BUILD_TEST"'
optimization = '"-O3 -g0"'
def build(name, defines, test_name):
def build(defines, test_name):
global base_defines, optimization
print("==========================================")
print(name)
print("==========================================")
print("~~~~~~~~~~~~~~~~~~~~~~~~")
print(test_name)
print("~~~~~~~~~~~~~~~~~~~~~~~~")
d_all = base_defines[:-1] + " ";

View File

@@ -7,9 +7,14 @@ import test
files = test.prepare()
print("============================================")
print("Minimal config, 16 bit color depth")
print("============================================")
print("")
for f in files:
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)