[CRIU] [PATCH 10/10] travis: run phaul tests
Andrei Vagin
avagin at openvz.org
Wed Oct 18 02:59:21 MSK 2017
From: Andrei Vagin <avagin at virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin at virtuozzo.com>
---
phaul/Makefile | 4 ++--
scripts/travis/travis-tests | 9 +++++++++
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/phaul/Makefile b/phaul/Makefile
index 93c848c54..7e491e31b 100644
--- a/phaul/Makefile
+++ b/phaul/Makefile
@@ -1,6 +1,6 @@
all: test piggie
-test: stats
+test:
make -C src/test
stats:
@@ -13,5 +13,5 @@ piggie: piggie.c
clean:
rm -rf test_images/
-run_test: piggie test
+run_test: test piggie
unshare -fpm --mount-proc ./test.sh
diff --git a/scripts/travis/travis-tests b/scripts/travis/travis-tests
index 6cfc81f52..6333ca7b1 100755
--- a/scripts/travis/travis-tests
+++ b/scripts/travis/travis-tests
@@ -120,6 +120,15 @@ ip net add test
./test/zdtm.py run --empty-ns -T zdtm/static/socket-tcp*-local --iter 2
+(
+ mkdir -p src/github.com/xemul
+ ln -s ../../../ src/github.com/xemul/criu
+ export GOPATH=`pwd`
+ export PATH=`pwd`/criu:$PATH
+ cd src/github.com/xemul/criu
+ make -C phaul run_test
+)
+
pip install flake8
make lint
--
2.13.3
More information about the CRIU
mailing list