From b470bb33aa990f98304d6fa1c0cc44db57e55dc8 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sun, 13 May 2018 14:20:35 +0200 Subject: [PATCH] tests: dont let warnings cause the tests to fail --- .gitlab-ci.yml | 2 +- tests/unit/Makefile.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a83d15936..39b53ff47 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/tests/unit/Makefile.inc b/tests/unit/Makefile.inc index aa0acb9e7..aefbc35c0 100644 --- a/tests/unit/Makefile.inc +++ b/tests/unit/Makefile.inc @@ -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 $$@)