Skip to content
Snippets Groups Projects
Commit b727c4dc authored by Petr Špaček's avatar Petr Špaček
Browse files

check-integration: Warn if Deckard does not match commited version

parent 91dd2c6d
Branches
Tags
2 merge requests!254Knot Resolver 1.2.5,!238Fix logging of glue addresses
......@@ -15,6 +15,7 @@ endif
deckard_DIR := tests/deckard
TESTS := sets/resolver
TEMPLATE := template/kresd.j2
SUBMODULES_DIRTY := $(shell git submodule status --recursive | cut -c 1 | grep -q '[^ ]' && echo $$?)
REAL_PREFIX=$(realpath $(PREFIX))
REAL_CURDIR=$(realpath $(CURDIR))
......@@ -24,6 +25,7 @@ $(deckard_DIR)/Makefile:
check-integration: $(deckard_DIR)/Makefile
$(if $(findstring $(REAL_CURDIR),$(REAL_PREFIX)),, $(warning Warning: PREFIX does not point into source directory; testing the installed version!))
$(if $(SUBMODULES_DIRTY), $(warning Warning: Git submodules are not up-to-date),)
@mkdir -p $(deckard_DIR)/contrib/libswrap/obj
+TESTS=$(TESTS) DAEMON=$(abspath $(SBINDIR)/kresd) TEMPLATE=$(TEMPLATE) $(preload_syms) $(deckard_DIR)/kresd_run.sh
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment