Commit 9846d54d authored by Petr Špaček's avatar Petr Špaček

tests: use tests/deckard/kresd_run.sh for check-integration target

Now the check-integration is (again) doing the same set of tests
as kresd_run.sh in Deckard tree.
parent 8e2716f8
......@@ -29,11 +29,8 @@ test:linux:amd64:
deckard:linux:amd64:
stage: test
before_script:
- git submodule update --init --recursive
script:
- mkdir -p tests/deckard/contrib/libswrap/obj
- MAKEFLAGS="-j $(nproc)" LD_LIBRARY_PATH=$(pwd)/.local/lib TESTS=sets/resolver DAEMON=$(pwd)/.local/sbin/kresd tests/deckard/kresd_run.sh
- PREFIX=$(pwd)/.local MAKEFLAGS="--jobs $(nproc) --keep-going" make check-integration
dependencies:
- build:linux:amd64
tags:
......
......@@ -11,9 +11,10 @@ TESTS := sets/resolver
TEMPLATE := template/kresd.j2
$(deckard_DIR)/Makefile:
@git submodule update --init --recursive
check-integration: $(deckard_DIR)/Makefile
@mkdir -p $(deckard_DIR)/contrib/libswrap/obj
@$(MAKE) -s -C $(deckard_DIR) TESTS=$(TESTS) DAEMON=$(abspath daemon/kresd) TEMPLATE=$(TEMPLATE) DYLD_LIBRARY_PATH=$(DYLD_LIBRARY_PATH)
+TESTS=$(TESTS) DAEMON=$(abspath daemon/kresd) TEMPLATE=$(TEMPLATE) $(preload_syms) $(deckard_DIR)/kresd_run.sh
deckard: check-integration
# Targets
......
Markdown is supported
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