mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 05:48:05 +00:00
travis: execute tests from travis
We can't execute userns tests, because a kernel is too old there. Signed-off-by: Andrew Vagin <avagin@virtuozzo.com> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
parent
4a0dcbbf86
commit
5594f14cc7
@ -9,3 +9,4 @@ env:
|
||||
- TR_ARCH=aarch64
|
||||
script:
|
||||
- sudo make -C scripts/build $TR_ARCH
|
||||
- sudo ./scripts/travis-tests $TR_ARCH
|
||||
|
11
scripts/travis-tests
Executable file
11
scripts/travis-tests
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
set -x -e
|
||||
|
||||
test "$1" = "x86_64" || exit 0
|
||||
|
||||
apt-get update -qq
|
||||
apt-get install -qq protobuf-c-compiler libprotobuf-c0-dev libaio-dev libprotobuf-dev protobuf-compiler python-ipaddr libcap-dev libnl-3-dev
|
||||
chmod a+x $HOME
|
||||
make
|
||||
make -C test/zdtm
|
||||
python test/zdtm.py run -a -f h,ns
|
Loading…
x
Reference in New Issue
Block a user