From 8cb0207e09c301a02e21f5e8a395c7c958781f1b Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 5 Aug 2021 18:07:21 -0300 Subject: tests/: Add integration tests, also test with Valgrind --- Makefile | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f12fa70..03c006b 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,7 @@ check: all src/gistatic.t ln -s .gitdir tests/resources/repositories/repo-1/.git ln -s .gitdir tests/resources/repositories/repo-2/.git ./src/gistatic.t + sh tests/integration.sh sh aux/assert-catgets.sh src/gistatic.c clean: @@ -64,18 +65,8 @@ uninstall: # Personal workflow targets # - -VALGRIND_FLAGS = \ - --show-error-list=yes \ - --show-leak-kinds=all \ - --leak-check=full \ - --track-origins=yes \ - --error-exitcode=1 - -c-dev-check: check - valgrind $(VALGRIND_FLAGS) ./src/gistatic.t - -dev-check: c-dev-check public +dev-check: check public + sh tests/dev-integration.sh sh aux/assert-shellcheck.sh sh aux/workflow/assert-todos.sh sh aux/workflow/assert-changelog.sh -n $(NAME) -- cgit v1.2.3