From 9b675fe7757dbab3e53de00eb0e2a23c40c7170e Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 25 Jun 2024 12:04:31 +0200 Subject: [PATCH] Add support to test also EUnit suite --- .github/workflows/ci.yml | 1 + Makefile.in | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3f9198c2..6ab74d3c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -132,6 +132,7 @@ jobs: - run: make options - run: make xref - run: make dialyzer + - run: make test-eunit - name: Check Production Release run: | diff --git a/Makefile.in b/Makefile.in index c89b31249..5adf241d5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 @@ -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]" #.