1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

run valgrind tests in debug configuration

This commit is contained in:
Steffen Vogel 2017-07-03 00:06:56 +02:00
parent 8287f049ef
commit a1c5e6eeae
2 changed files with 6 additions and 2 deletions

View file

@ -81,8 +81,10 @@ build:packages:
test:coverage:
stage: test
variables:
COVERAGE: "1"
script:
- make coverage COVERAGE=1
- make coverage
artifacts:
name: "${CI_PROJECT_NAME}-coverage-${CI_BUILD_REF}"
paths:
@ -121,6 +123,8 @@ test:integration:
test:valgrind:
stage: test
variables:
DEBUG: "1"
script:
- make run-valgrind
dependencies:

View file

@ -30,7 +30,7 @@ run-tests: run-unit-tests run-integration-tests run-valgrind
VALGRIND = valgrind --leak-check=full --show-leak-kinds=all --suppressions=$(SRCDIR)/tests/valgrind.supp
run-valgrind: src
$(VALGRIND) $(BUILDDIR)/villas-node & sleep 1; kill %1
$(VALGRIND) $(BUILDDIR)/villas-node & sleep 2; kill %1
$(VALGRIND) $(BUILDDIR)/villas-pipe -t 1 $(SRCDIR)/etc/websocket-loopback.conf ws1
.PHONY: tests run-tests run-valgrind