File tree Expand file tree Collapse file tree 2 files changed +56
-4
lines changed Expand file tree Collapse file tree 2 files changed +56
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ qemu-smoke-x86-64-gcc:
5
5
variables :
6
6
CONTAINER : debian:stretch
7
7
script :
8
- - ./automation/scripts/qemu-smoke-x86-64.sh 2>&1 | tee qemu-smoke-x86-64.log
8
+ - ./automation/scripts/qemu-smoke-x86-64.sh pv 2>&1 | tee qemu-smoke-x86-64.log
9
9
artifacts :
10
10
paths :
11
11
- smoke.serial
@@ -27,7 +27,51 @@ qemu-smoke-x86-64-clang:
27
27
variables :
28
28
CONTAINER : debian:stretch
29
29
script :
30
- - ./automation/scripts/qemu-smoke-x86-64.sh 2>&1 | tee qemu-smoke-x86-64.log
30
+ - ./automation/scripts/qemu-smoke-x86-64.sh pv 2>&1 | tee qemu-smoke-x86-64.log
31
+ artifacts :
32
+ paths :
33
+ - smoke.serial
34
+ - ' *.log'
35
+ when : always
36
+ dependencies :
37
+ - debian-unstable-clang-debug
38
+ tags :
39
+ - x86_64
40
+ except :
41
+ - master
42
+ - smoke
43
+ - /^coverity-tested\/.*/
44
+ - /^stable-.*/
45
+
46
+ qemu-smoke-x86-64-gcc-pvh :
47
+ stage : test
48
+ image : registry.gitlab.com/xen-project/xen/${CONTAINER}
49
+ variables :
50
+ CONTAINER : debian:stretch
51
+ script :
52
+ - ./automation/scripts/qemu-smoke-x86-64.sh pvh 2>&1 | tee qemu-smoke-x86-64.log
53
+ artifacts :
54
+ paths :
55
+ - smoke.serial
56
+ - ' *.log'
57
+ when : always
58
+ dependencies :
59
+ - debian-stretch-gcc-debug
60
+ tags :
61
+ - x86_64
62
+ except :
63
+ - master
64
+ - smoke
65
+ - /^coverity-tested\/.*/
66
+ - /^stable-.*/
67
+
68
+ qemu-smoke-x86-64-clang-pvh :
69
+ stage : test
70
+ image : registry.gitlab.com/xen-project/xen/${CONTAINER}
71
+ variables :
72
+ CONTAINER : debian:stretch
73
+ script :
74
+ - ./automation/scripts/qemu-smoke-x86-64.sh pvh 2>&1 | tee qemu-smoke-x86-64.log
31
75
artifacts :
32
76
paths :
33
77
- smoke.serial
Original file line number Diff line number Diff line change 2
2
3
3
set -ex
4
4
5
+ # variant should be either pv or pvh
6
+ variant=$1
7
+
5
8
# Install QEMU
6
9
export DEBIAN_FRONTENT=noninteractive
7
10
apt-get -qy update
@@ -11,12 +14,17 @@ apt-get -qy install qemu-system-x86
11
14
git clone https://xenbits.xen.org/git-http/xtf.git
12
15
cd xtf && make -j$( nproc) && cd -
13
16
17
+ case $variant in
18
+ pvh) k=test-hvm32pae-example extra=" dom0-iommu=none dom0=pvh" ;;
19
+ * ) k=test-pv32pae-example extra= ;;
20
+ esac
21
+
14
22
rm -f smoke.serial
15
23
set +e
16
24
timeout -k 1 10 \
17
25
qemu-system-x86_64 -nographic -kernel binaries/xen \
18
- -initrd xtf/tests/example/test-pv32pae-example \
19
- -append ' loglvl=all com1=115200,,8n1 console=com1 noreboot' \
26
+ -initrd xtf/tests/example/$k \
27
+ -append " loglvl=all com1=115200,,8n1 console=com1 noreboot $extra " \
20
28
-m 512 -monitor none -serial file:smoke.serial
21
29
set -e
22
30
grep -q ' Test result: SUCCESS' smoke.serial || exit 1
You can’t perform that action at this time.
0 commit comments