diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2025-08-16 00:17:33 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2025-08-16 00:17:33 +0200 |
commit | f9611cba7ded5c10419cd92a512e57044340f5e8 (patch) | |
tree | 4a548fb1bc971899ed7c22d5eb10424de784df65 /Makefile | |
parent | 1f2e65cd2e2120a44f353cc4ef99be65597bdaf8 (diff) |
Makefile: better columnar output in tests
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |