summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2025-08-16 00:17:33 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2025-08-16 00:17:33 +0200
commitf9611cba7ded5c10419cd92a512e57044340f5e8 (patch)
tree4a548fb1bc971899ed7c22d5eb10424de784df65 /Makefile
parent1f2e65cd2e2120a44f353cc4ef99be65597bdaf8 (diff)
Makefile: better columnar output in tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 95f3c1e..b900387 100644
--- a/Makefile
+++ b/Makefile
@@ -31,9 +31,9 @@ clean:
rm -f $(TEST_FILES)
$(TEST_FILES): $(TARGET) $(TEST_SOURCES) $(HEADERS)
- @printf "Running '%s'..." $@
+ @printf "Running %-40s%s " '`$@`'
@$(CC) $(CFLAGS) -o $@ $(addsuffix .c, $@) $(OBJ)
- @if ./$@ ; then printf "\t\tPASS\n";else printf "\t\tFAIL: exit value: %d\n" $$?; fi
+ @if ./$@ ; then printf "PASS\n";else printf "FAIL: exit value: %d\n" $$?; fi
check: test
test: $(TEST_FILES)