Skip to content

Commit

Permalink
chore: improve test logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Silva97 committed Jan 17, 2025
1 parent 37b81fa commit 151d0f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,13 @@ test_%: CLFAGS += -I "$(TESTDIR)/include"
test_%: $(TESTOBJ) create_bin_dirs $(OBJLIST)
$(eval TEST_MODULE = $(shell find $(TESTDIR) -name "$@.c"))

@echo
@echo "$(TEST_MODULE) -> $@"
@$(CC) $(CLFAGS) -c "$(TEST_MODULE)" -o "$(BINBASEDIR)/[email protected]"

@$(CC) $(CLFAGS) $(OBJLIST) $(TESTOBJ) "$(BINBASEDIR)/[email protected]" -o "$(BINBASEDIR)/$@"

@echo "-----------------------"
@./$(BINBASEDIR)/$@

$(TESTOBJ): CLFAGS += -I "$(TESTDIR)/include"
Expand Down

0 comments on commit 151d0f6

Please sign in to comment.