diff options
Diffstat (limited to 'tests/dev-integration.sh')
-rwxr-xr-x | tests/dev-integration.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/dev-integration.sh b/tests/dev-integration.sh new file mode 100755 index 0000000..a82ce14 --- /dev/null +++ b/tests/dev-integration.sh @@ -0,0 +1,16 @@ +#!/bin/sh +set -eu + +. tests/lib.sh + +VALGRIND_FLAGS=' +--show-error-list=yes +--show-leak-kinds=all +--leak-check=full +--track-origins=yes +--error-exitcode=1 +' + +valgrind $VALGRIND_FLAGS ./src/gistatic.t +valgrind $VALGRIND_FLAGS ./src/gistatic -o `mkdtemp` -u 'https://example.com' tests/resources/repositories/repo-1 +valgrind $VALGRIND_FLAGS ./src/gistatic -o `mkdtemp` -i tests/resources/repositories/* |