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:
parent
8287f049ef
commit
a1c5e6eeae
2 changed files with 6 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue