mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
tests: ignore warnings globally
This commit is contained in:
parent
a2478b0d69
commit
c2d76829f7
3 changed files with 4 additions and 3 deletions
|
@ -3,6 +3,7 @@ variables:
|
|||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
PREFIX: /usr/
|
||||
RSYNC_OPTS: --recursive --ignore-missing-args --chown ${DEPLOY_USER}:${DEPLOY_USER}
|
||||
CRITERION_OPTS: --ignore-warnings
|
||||
DOCKER_TAG_DEV: ${CI_COMMIT_REF_NAME}
|
||||
DOCKER_IMAGE_DEV: villas/node-dev
|
||||
|
||||
|
@ -106,7 +107,7 @@ test:unit:
|
|||
dependencies:
|
||||
- build:source
|
||||
script:
|
||||
- make run-unit-tests CRITERON_OPTS=--ignore-warnings
|
||||
- make run-unit-tests
|
||||
image: ${DOCKER_IMAGE_DEV}:${DOCKER_TAG_DEV}
|
||||
tags:
|
||||
- docker
|
||||
|
|
|
@ -44,7 +44,7 @@ $(BUILDDIR)/coverage/index.html: $(addsuffix .gcdas,$(COVERAGE_TESTS)) | $$(dir
|
|||
@echo "Delete previous coverage information"
|
||||
rm -f $(GCDAS)
|
||||
@echo "Run $< for collecting coverage information (.gcda)"
|
||||
$^
|
||||
$^ $(CRITERION_OPTS)
|
||||
|
||||
clean-coverage:
|
||||
rm -rf $(BUILDDIR)/coverage $(BUILDDIR)/coverage.txt $(BUILDDIR)/coverage.xml
|
||||
|
|
|
@ -30,7 +30,7 @@ TEST_LDLIBS = $(LDLIBS) -lcriterion -lvillas -pthread -ljansson
|
|||
unit-tests: $(BUILDDIR)/unit-tests
|
||||
|
||||
run-unit-tests: tests
|
||||
$(BUILDDIR)/unit-tests $(CRITERON_OPTS)
|
||||
$(BUILDDIR)/unit-tests $(CRITERION_OPTS)
|
||||
|
||||
# Compile
|
||||
$(BUILDDIR)/tests/unit/%.o: tests/unit/%.c $(BUILDDIR)/include/villas/config.h | $$(dir $$@)
|
||||
|
|
Loading…
Add table
Reference in a new issue