Commit 9205fc3d authored by Andrew Vagin's avatar Andrew Vagin Committed by Pavel Emelyanov

travis: add more tests to maximise code coverage

Signed-off-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 87270c81
......@@ -9,7 +9,33 @@ chmod a+x $HOME
export GCOV=1
make
make -C test/zdtm
python test/zdtm.py run -a -x 'cgroup*'
./criu/criu check
./criu/criu check --all || echo $?
./criu/criu cpuinfo dump
./criu/criu cpuinfo check
umask 0000
export SKIP_PREP=1
./test/zdtm.py run -a -x 'cgroup*'
bash ./test/jenkins/criu-fault.sh
bash ./test/jenkins/criu-fcg.sh
bash ./test/jenkins/criu-inhfd.sh
make -C test/others/mnt-ext-dev/ run
./test/zdtm.py run -t zdtm/static/env00 --sibling
./test/zdtm.py run -t zdtm/transition/maps007 --pre 2 --dedup
./test/zdtm.py run -t zdtm/transition/maps007 --pre 2 --page-server
./test/zdtm.py run -t zdtm/static/socket-tcp-local --norst
ip net add test
./test/zdtm.py run --unshare -t zdtm/static/env00
./test/zdtm.py run -t zdtm/static/env00 -f h --join-ns
pip install flake8
make lint
#!/bin/bash
# Check known fault injections
set -e
source `dirname $0`/criu-lib.sh
......
......@@ -6,6 +6,7 @@ function exit_hook()
function prep()
{
test -n "$SKIP_PREP" && return
# systemd executes jenkins in a separate sched cgroup.
echo 950000 > /sys/fs/cgroup/cpu,cpuacct/system/cpu.rt_runtime_us || true
echo 950000 > /sys/fs/cgroup/cpu,cpuacct/system/jenkins.service/cpu.rt_runtime_us || true
......@@ -24,7 +25,7 @@ function prep()
function mount_tmpfs_to_dump()
{
test -n "$SKIP_PREP" && return
mkdir -p test/dump &&
mount -t tmpfs criu_dump test/dump &&
true
......
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