From ea8bed34b49343a4e881bdd42096f69d245ef66e Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Thu, 3 Jun 2021 14:07:25 +0200 Subject: [PATCH] chore(test) improve prints --- tests/Makefile | 2 +- tests/build.py | 8 ++++---- tests/main.py | 7 ++++++- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 77e316c1d..f4f13f9c8 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -42,7 +42,7 @@ OBJS = $(AOBJS) $(COBJS) all: default %.o: %.c - $(CC) $(CFLAGS) -c $< -o $@ + @$(CC) $(CFLAGS) -c $< -o $@ default: $(AOBJS) $(COBJS) $(MAINOBJ) diff --git a/tests/build.py b/tests/build.py index d8aa24490..de18125c1 100755 --- a/tests/build.py +++ b/tests/build.py @@ -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] + " "; diff --git a/tests/main.py b/tests/main.py index ebb68d589..d27bd0e81 100755 --- a/tests/main.py +++ b/tests/main.py @@ -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)