aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-08-05 18:07:21 -0300
committerEuAndreh <eu@euandre.org>2021-08-05 18:07:21 -0300
commit8cb0207e09c301a02e21f5e8a395c7c958781f1b (patch)
treebb4ad55274e71bb2dc2bd4ed61958abf524df4ea /Makefile
parentMove tests/resources{ => /repositories}/repo* (diff)
downloadgistatic-8cb0207e09c301a02e21f5e8a395c7c958781f1b.tar.gz
gistatic-8cb0207e09c301a02e21f5e8a395c7c958781f1b.tar.xz
tests/: Add integration tests, also test with Valgrind
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 3 insertions, 12 deletions
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)