[CRIU] [PATCH] travis: fix collecting code coverage
Andrei Vagin
avagin at openvz.org
Thu Feb 2 00:19:52 PST 2017
From: Andrei Vagin <avagin at virtuozzo.com>
The problem is in the chroot test:
geninfo: ERROR: /home/travis/build/xemul/criu/test/zdtm/static/chroot.dir.test/home/travis/build/xemul/criu/images/timer.gcno: could not open file
We can just ignore these errors.
Signed-off-by: Andrei Vagin <avagin at virtuozzo.com>
---
scripts/travis/travis-after_success | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/travis/travis-after_success b/scripts/travis/travis-after_success
index bc0888a..daab76e 100755
--- a/scripts/travis/travis-after_success
+++ b/scripts/travis/travis-after_success
@@ -6,5 +6,5 @@ test -z "$GCOV" && exit 0
sudo apt-get install -qq -y lcov
gem install coveralls-lcov
-sudo lcov --directory ../.. --capture --output-file coverage.info
+sudo lcov --directory ../.. --capture --output-file coverage.info --ignore-errors graph
coveralls-lcov coverage.info
--
2.7.4
More information about the CRIU
mailing list