[CRIU] [PATCH] jenkins: save report in the "test" directory
Andrey Vagin
avagin at gmail.com
Mon Nov 9 13:29:08 PST 2015
From: Andrey Vagin <avagin at openvz.org>
Now we save report in test/dump/report. It doesn't work when
we mount tmpfs into test/dump, because Jenkins runs in another
mount namespace.
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
test/jenkins/criu-iter.sh | 2 +-
test/jenkins/criu-lib.sh | 1 -
test/jenkins/criu-sibling.sh | 2 +-
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/test/jenkins/criu-iter.sh b/test/jenkins/criu-iter.sh
index da7239a..ff6938e 100644
--- a/test/jenkins/criu-iter.sh
+++ b/test/jenkins/criu-iter.sh
@@ -3,4 +3,4 @@ set -e
source `dirname $0`/criu-lib.sh
prep
mount_tmpfs_to_dump
-./test/zdtm.py run --all --report dump/report --parallel 4 --iter 3 -x 'maps04' || fail
+./test/zdtm.py run --all --report report --parallel 4 --iter 3 -x 'maps04' || fail
diff --git a/test/jenkins/criu-lib.sh b/test/jenkins/criu-lib.sh
index 373953f..14d8363 100644
--- a/test/jenkins/criu-lib.sh
+++ b/test/jenkins/criu-lib.sh
@@ -18,7 +18,6 @@ function mount_tmpfs_to_dump()
mkdir -p test/dump &&
mount -t tmpfs criu_dump test/dump &&
- mkdir -p test/dump/report &&
true
}
diff --git a/test/jenkins/criu-sibling.sh b/test/jenkins/criu-sibling.sh
index 300da44..4041ad9 100644
--- a/test/jenkins/criu-sibling.sh
+++ b/test/jenkins/criu-sibling.sh
@@ -3,4 +3,4 @@ set -e
source `dirname $0`/criu-lib.sh
prep
mount_tmpfs_to_dump
-./test/zdtm.py run --all --report test/dump/report --sibling --parallel 4 || fail
+./test/zdtm.py run --all --report report --sibling --parallel 4 || fail
--
2.4.3
More information about the CRIU
mailing list