25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Add support to test also EUnit suite

This commit is contained in:
Badlop 2024-06-25 12:04:31 +02:00
parent 35783d9a2c
commit 9b675fe775
2 changed files with 6 additions and 1 deletions

View File

@ -132,6 +132,7 @@ jobs:
- run: make options - run: make options
- run: make xref - run: make xref
- run: make dialyzer - run: make dialyzer
- run: make test-eunit
- name: Check Production Release - name: Check Production Release
run: | run: |

View File

@ -653,12 +653,15 @@ test:
@cd priv && ln -sf ../sql @cd priv && ln -sf ../sql
$(REBAR) $(SKIPDEPS) ct $(REBAR) $(SKIPDEPS) ct
test-eunit:
$(REBAR) $(SKIPDEPS) eunit --verbose
#. #.
#' phony #' phony
# #
.PHONY: src edoc dialyzer Makefile TAGS clean clean-rel distclean prod rel \ .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 \ all dev doap help install-rel relive scripts uninstall-rel update \
erlang_plt deps_plt ejabberd_plt xref hooks options format indent erlang_plt deps_plt ejabberd_plt xref hooks options format indent
@ -698,6 +701,7 @@ help:
@echo " dialyzer Run Dialyzer static analyzer" @echo " dialyzer Run Dialyzer static analyzer"
@echo " hooks Run hooks validator" @echo " hooks Run hooks validator"
@echo " test Run Common Tests suite [rebar3]" @echo " test Run Common Tests suite [rebar3]"
@echo " test-eunit Run EUnit suite [rebar3]"
@echo " xref Run cross reference analysis [rebar3]" @echo " xref Run cross reference analysis [rebar3]"
#. #.