mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 09:05:10 +00:00
v2: Use the devicemapper storage driver for docker containers to run more tests. AUFS doesn't support file handles, so a few tests (e.g. inotify00 can't be run). Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
25 lines
601 B
Makefile
25 lines
601 B
Makefile
local:
|
|
./travis-tests
|
|
.PHONY: local
|
|
|
|
after_success:
|
|
./travis-after_success
|
|
.PHONY: after_success
|
|
|
|
target-suffix =
|
|
ifdef CLANG
|
|
target-suffix = -clang
|
|
endif
|
|
|
|
alpine:
|
|
$(MAKE) -C ../build $@$(target-suffix)
|
|
docker run --rm -it --privileged -v /lib/modules:/lib/modules criu-alpine ./test/zdtm.py run -t zdtm/static/env00
|
|
|
|
asan:
|
|
echo 'DOCKER_OPTS="--storage-driver=devicemapper"' > /etc/default/docker
|
|
restart docker
|
|
$(MAKE) -C ../build fedora-asan
|
|
docker run --rm -it --privileged -v /lib/modules:/lib/modules criu-fedora-asan ./scripts/travis/asan.sh
|
|
|
|
%:
|
|
$(MAKE) -C ../build $@$(target-suffix)
|