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

tests: dont let warnings cause the tests to fail

This commit is contained in:
Steffen Vogel 2018-05-13 14:20:35 +02:00
parent d94893846f
commit b470bb33aa
2 changed files with 2 additions and 2 deletions

View file

@ -106,7 +106,7 @@ test:unit:
dependencies:
- build:source
script:
- make run-unit-tests
- make run-unit-tests CRITERON_OPTS=--ignore-warnings
image: ${DOCKER_IMAGE_DEV}:${DOCKER_TAG_DEV}
tags:
- docker

View file

@ -30,7 +30,7 @@ TEST_LDLIBS = $(LDLIBS) -lcriterion -lvillas -pthread -ljansson
unit-tests: $(BUILDDIR)/unit-tests
run-unit-tests: tests
$(BUILDDIR)/unit-tests
$(BUILDDIR)/unit-tests $(CRITERON_OPTS)
# Compile
$(BUILDDIR)/tests/unit/%.o: tests/unit/%.c $(BUILDDIR)/include/villas/config.h | $$(dir $$@)