chore(test) improve prints
This commit is contained in:
@@ -42,7 +42,7 @@ OBJS = $(AOBJS) $(COBJS)
|
||||
all: default
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
@$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
|
||||
default: $(AOBJS) $(COBJS) $(MAINOBJ)
|
||||
|
||||
@@ -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] + " ";
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user