jenkins: use zdtm.py to run criu-sibling

Signed-off-by: Andrew Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrew Vagin 2015-10-20 13:27:00 +03:00 committed by Pavel Emelyanov
parent 951a1e04f2
commit be16f4f09b
2 changed files with 8 additions and 7 deletions

View file

@ -8,6 +8,7 @@ function prep()
git clean -dfx &&
make -j 4 &&
make -j 4 -C test/zdtm/live &&
make -C test zdtm_ct &&
true
}

View file

@ -1,8 +1,8 @@
# Make 3 iteration of dump/restore for each test
source `dirname $0`/criu-lib.sh &&
prep &&
mkdir -p test/dump &&
mount -t tmpfs dump test/dump &&
make -C test -j 4 ZDTM_ARGS="-C --restore-sibling" zdtm &&
true || fail
set -e
source `dirname $0`/criu-lib.sh
prep
mkdir -p test/dump
mount -t tmpfs dump test/dump
cd test
./zdtm.py run --all --sibling --parallel 4