mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 09:05:10 +00:00
Otherwise we will see warnings like these ones: Warn (criu/kerndat.c:805): Can't load /run/criu.kdat Warn (criu/net.c:2726): Unable to get a socket network namespace Warn (criu/kerndat.c:844): Can't keep kdat cache on non-tempfs Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
29 lines
786 B
Makefile
29 lines
786 B
Makefile
local:
|
|
./travis-tests
|
|
.PHONY: local
|
|
|
|
after_success:
|
|
./travis-after_success
|
|
.PHONY: after_success
|
|
|
|
target-suffix =
|
|
ifdef CLANG
|
|
target-suffix = -clang
|
|
endif
|
|
|
|
TARGETS := fedora-asan alpine fedora-rawhide
|
|
ZDTM_OPTIONS :=
|
|
|
|
alpine: ZDTM_OPTIONS=-x zdtm/static/binfmt_misc -x zdtm/static/netns-nf -x zdtm/static/sched_policy00 -x zdtm/static/seccomp_strict -x zdtm/static/sigaltstack -x zdtm/static/signalfd00 -x zdtm/static/config_inotify_irmap
|
|
|
|
$(TARGETS):
|
|
echo 'DOCKER_OPTS="--storage-driver=devicemapper"' > /etc/default/docker
|
|
restart docker
|
|
$(MAKE) -C ../build $@$(target-suffix)
|
|
docker run --rm -it --privileged -v /lib/modules:/lib/modules --tmpfs /run criu-$@ ./scripts/travis/asan.sh $(ZDTM_OPTIONS)
|
|
|
|
docker-test:
|
|
./docker-test.sh
|
|
|
|
%:
|
|
$(MAKE) -C ../build $@$(target-suffix)
|