aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2024-06-20 17:28:53 +0200
committerBad Diode <bd@badd10de.dev>2024-06-20 17:28:53 +0200
commit46bd782e6c65f7f9807cfc996476d99c7a06848f (patch)
tree8a394dafa2ff3b69c61a1f7f3bebc87e5125260a /Makefile
parent27930f546c4e7f216b6cb687bde26b68741b44f8 (diff)
downloadbdl-46bd782e6c65f7f9807cfc996476d99c7a06848f.tar.gz
bdl-46bd782e6c65f7f9807cfc996476d99c7a06848f.zip
Add some color to tests makefile target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3153058..2f8ed5f 100644
--- a/Makefile
+++ b/Makefile
@@ -74,8 +74,10 @@ graph-symbols: $(BIN)
74 74
75tests: $(BIN) 75tests: $(BIN)
76 @for name in $(TEST_FILES); do\ 76 @for name in $(TEST_FILES); do\
77 line=" OK";\ 77 COL_OK="\033[32m";\
78 printf "$${name}\r" ;\ 78 COL_RESET="\033[39m";\
79 line=" $${COL_OK}OK$${COL_RESET}";\
80 printf "$${name}\r\033[31m" ;\
79 $(BIN) $${name} \ 81 $(BIN) $${name} \
80 && printf "$$line\r" \ 82 && printf "$$line\r" \
81 && printf "$${name}\n";\ 83 && printf "$${name}\n";\