Skip to content

Commit

Permalink
Add support to test also EUnit suite
Browse files Browse the repository at this point in the history
  • Loading branch information
badlop committed Jun 25, 2024
1 parent f08aec4 commit ce5ef03
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ jobs:
- run: make options
- run: make xref
- run: make dialyzer
- run: make test-eunit

- name: Check Production Release
run: |
Expand Down
6 changes: 5 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -653,12 +653,15 @@ test:
@cd priv && ln -sf ../sql
$(REBAR) $(SKIPDEPS) ct

test-eunit:
$(REBAR) $(SKIPDEPS) eunit --verbose

#.
#' phony
#

.PHONY: src edoc dialyzer Makefile TAGS clean clean-rel distclean prod rel \
install uninstall uninstall-binary uninstall-all translations deps test \
install uninstall uninstall-binary uninstall-all translations deps test test-eunit \
all dev doap help install-rel relive scripts uninstall-rel update \
erlang_plt deps_plt ejabberd_plt xref hooks options format indent

Expand Down Expand Up @@ -698,6 +701,7 @@ help:
@echo " dialyzer Run Dialyzer static analyzer"
@echo " hooks Run hooks validator"
@echo " test Run Common Tests suite [rebar3]"
@echo " test-eunit Run EUnit suite [rebar3]"
@echo " xref Run cross reference analysis [rebar3]"

#.
Expand Down

0 comments on commit ce5ef03

Please sign in to comment.