mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
test: add ability to execute tests in a docker container
# Build criu in a docker container $ make direct-build # Execute tests in a docker container $ make direct-test Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
9cabc3918a
commit
7c2b4b1380
2 changed files with 24 additions and 0 deletions
6
Makefile
6
Makefile
|
|
@ -319,4 +319,10 @@ gcov:
|
|||
genhtml -o html crtools.info
|
||||
.PHONY: gcov
|
||||
|
||||
docker-build:
|
||||
docker build -t criu .
|
||||
|
||||
docker-test:
|
||||
docker run --rm -it --privileged criu ./test/zdtm.sh -C -x tcp6 -x tcpbuf6 -x static/rtc -x cgroup -x mountpoint
|
||||
|
||||
.DEFAULT_GOAL := all
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue