Skip to content

Commit 114f3c8

Browse files
committed
Merge remote-tracking branch 'remotes/philmd/tags/avocado-20211108' into staging
Integration testing patches - Rename tests/acceptance/ -> tests/avocado/ - Rename avocado_qemu.Test -> avocado_qemu.QemuSystemTest - Introduce QemuUserTest class - Add the first linux-user test, covering the bFLT loader # gpg: Signature made Mon 08 Nov 2021 05:16:46 PM CET # gpg: using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE # gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <[email protected]>" [full] * remotes/philmd/tags/avocado-20211108: tests/avocado: Remove p7zip binary availability check tests/avocado: Rename avocado_qemu.Test -> QemuSystemTest tests/avocado: Add bFLT loader linux-user test tests/avocado: Share useful helpers from virtiofs_submounts test tests/avocado: Introduce QemuUserTest base class tests/avocado: Make pick_default_qemu_bin() more generic tests/avocado: Extract QemuBaseTest from Test tests/acceptance: rename tests acceptance to tests avocado tests/acceptance: introduce new check-avocado target Signed-off-by: Richard Henderson <[email protected]>
2 parents 5e10ccc + b94d008 commit 114f3c8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+364
-284
lines changed

.gitlab-ci.d/buildtest-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
# Avoid recompiling by hiding ninja with NINJA=":"
3838
- make NINJA=":" $MAKE_CHECK_ARGS
3939

40-
.acceptance_test_job_template:
40+
.avocado_test_job_template:
4141
extends: .native_test_job_template
4242
cache:
4343
key: "${CI_JOB_NAME}-cache"

.gitlab-ci.d/buildtest.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ check-system-alpine:
2626
IMAGE: alpine
2727
MAKE_CHECK_ARGS: check
2828

29-
acceptance-system-alpine:
30-
extends: .acceptance_test_job_template
29+
avocado-system-alpine:
30+
extends: .avocado_test_job_template
3131
needs:
3232
- job: build-system-alpine
3333
artifacts: true
3434
variables:
3535
IMAGE: alpine
36-
MAKE_CHECK_ARGS: check-acceptance
36+
MAKE_CHECK_ARGS: check-avocado
3737

3838
build-system-ubuntu:
3939
extends: .native_build_job_template
@@ -59,14 +59,14 @@ check-system-ubuntu:
5959
IMAGE: ubuntu2004
6060
MAKE_CHECK_ARGS: check
6161

62-
acceptance-system-ubuntu:
63-
extends: .acceptance_test_job_template
62+
avocado-system-ubuntu:
63+
extends: .avocado_test_job_template
6464
needs:
6565
- job: build-system-ubuntu
6666
artifacts: true
6767
variables:
6868
IMAGE: ubuntu2004
69-
MAKE_CHECK_ARGS: check-acceptance
69+
MAKE_CHECK_ARGS: check-avocado
7070

7171
build-system-debian:
7272
extends: .native_build_job_template
@@ -91,14 +91,14 @@ check-system-debian:
9191
IMAGE: debian-amd64
9292
MAKE_CHECK_ARGS: check
9393

94-
acceptance-system-debian:
95-
extends: .acceptance_test_job_template
94+
avocado-system-debian:
95+
extends: .avocado_test_job_template
9696
needs:
9797
- job: build-system-debian
9898
artifacts: true
9999
variables:
100100
IMAGE: debian-amd64
101-
MAKE_CHECK_ARGS: check-acceptance
101+
MAKE_CHECK_ARGS: check-avocado
102102

103103
build-system-fedora:
104104
extends: .native_build_job_template
@@ -125,14 +125,14 @@ check-system-fedora:
125125
IMAGE: fedora
126126
MAKE_CHECK_ARGS: check
127127

128-
acceptance-system-fedora:
129-
extends: .acceptance_test_job_template
128+
avocado-system-fedora:
129+
extends: .avocado_test_job_template
130130
needs:
131131
- job: build-system-fedora
132132
artifacts: true
133133
variables:
134134
IMAGE: fedora
135-
MAKE_CHECK_ARGS: check-acceptance
135+
MAKE_CHECK_ARGS: check-avocado
136136

137137
build-system-centos:
138138
extends: .native_build_job_template
@@ -159,14 +159,14 @@ check-system-centos:
159159
IMAGE: centos8
160160
MAKE_CHECK_ARGS: check
161161

162-
acceptance-system-centos:
163-
extends: .acceptance_test_job_template
162+
avocado-system-centos:
163+
extends: .avocado_test_job_template
164164
needs:
165165
- job: build-system-centos
166166
artifacts: true
167167
variables:
168168
IMAGE: centos8
169-
MAKE_CHECK_ARGS: check-acceptance
169+
MAKE_CHECK_ARGS: check-avocado
170170

171171
build-system-opensuse:
172172
extends: .native_build_job_template
@@ -191,14 +191,14 @@ check-system-opensuse:
191191
IMAGE: opensuse-leap
192192
MAKE_CHECK_ARGS: check
193193

194-
acceptance-system-opensuse:
195-
extends: .acceptance_test_job_template
194+
avocado-system-opensuse:
195+
extends: .avocado_test_job_template
196196
needs:
197197
- job: build-system-opensuse
198198
artifacts: true
199199
variables:
200200
IMAGE: opensuse-leap
201-
MAKE_CHECK_ARGS: check-acceptance
201+
MAKE_CHECK_ARGS: check-avocado
202202

203203

204204
# This jobs explicitly disable TCG (--disable-tcg), KVM is detected by
@@ -317,7 +317,7 @@ clang-user:
317317
# This can be accomplished by using -enable-slirp=git, which avoids the use of
318318
# a system-wide version of the library
319319
#
320-
# Split in three sets of build/check/acceptance to limit the execution time of each
320+
# Split in three sets of build/check/avocado to limit the execution time of each
321321
# job
322322
build-cfi-aarch64:
323323
extends: .native_build_job_template
@@ -352,14 +352,14 @@ check-cfi-aarch64:
352352
IMAGE: fedora
353353
MAKE_CHECK_ARGS: check
354354

355-
acceptance-cfi-aarch64:
356-
extends: .acceptance_test_job_template
355+
avocado-cfi-aarch64:
356+
extends: .avocado_test_job_template
357357
needs:
358358
- job: build-cfi-aarch64
359359
artifacts: true
360360
variables:
361361
IMAGE: fedora
362-
MAKE_CHECK_ARGS: check-acceptance
362+
MAKE_CHECK_ARGS: check-avocado
363363

364364
build-cfi-ppc64-s390x:
365365
extends: .native_build_job_template
@@ -394,14 +394,14 @@ check-cfi-ppc64-s390x:
394394
IMAGE: fedora
395395
MAKE_CHECK_ARGS: check
396396

397-
acceptance-cfi-ppc64-s390x:
398-
extends: .acceptance_test_job_template
397+
avocado-cfi-ppc64-s390x:
398+
extends: .avocado_test_job_template
399399
needs:
400400
- job: build-cfi-ppc64-s390x
401401
artifacts: true
402402
variables:
403403
IMAGE: fedora
404-
MAKE_CHECK_ARGS: check-acceptance
404+
MAKE_CHECK_ARGS: check-avocado
405405

406406
build-cfi-x86_64:
407407
extends: .native_build_job_template
@@ -430,14 +430,14 @@ check-cfi-x86_64:
430430
IMAGE: fedora
431431
MAKE_CHECK_ARGS: check
432432

433-
acceptance-cfi-x86_64:
434-
extends: .acceptance_test_job_template
433+
avocado-cfi-x86_64:
434+
extends: .avocado_test_job_template
435435
needs:
436436
- job: build-cfi-x86_64
437437
artifacts: true
438438
variables:
439439
IMAGE: fedora
440-
MAKE_CHECK_ARGS: check-acceptance
440+
MAKE_CHECK_ARGS: check-avocado
441441

442442
tsan-build:
443443
extends: .native_build_job_template

MAINTAINERS

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -177,15 +177,15 @@ L: [email protected]
177177
S: Maintained
178178
F: hw/arm/smmu*
179179
F: include/hw/arm/smmu*
180-
F: tests/acceptance/smmu.py
180+
F: tests/avocado/smmu.py
181181

182182
AVR TCG CPUs
183183
M: Michael Rolnik <[email protected]>
184184
S: Maintained
185185
F: docs/system/target-avr.rst
186186
F: gdb-xml/avr-cpu.xml
187187
F: target/avr/
188-
F: tests/acceptance/machine_avr6.py
188+
F: tests/avocado/machine_avr6.py
189189

190190
CRIS TCG CPUs
191191
M: Edgar E. Iglesias <[email protected]>
@@ -657,7 +657,7 @@ S: Odd Fixes
657657
F: include/hw/arm/digic.h
658658
F: hw/*/digic*
659659
F: include/hw/*/digic*
660-
F: tests/acceptance/machine_arm_canona1100.py
660+
F: tests/avocado/machine_arm_canona1100.py
661661
F: docs/system/arm/digic.rst
662662

663663
Goldfish RTC
@@ -708,7 +708,7 @@ S: Maintained
708708
F: hw/arm/integratorcp.c
709709
F: hw/misc/arm_integrator_debug.c
710710
F: include/hw/misc/arm_integrator_debug.h
711-
F: tests/acceptance/machine_arm_integratorcp.py
711+
F: tests/avocado/machine_arm_integratorcp.py
712712
F: docs/system/arm/integratorcp.rst
713713

714714
MCIMX6UL EVK / i.MX6ul
@@ -805,7 +805,7 @@ F: include/hw/display/blizzard.h
805805
F: include/hw/input/lm832x.h
806806
F: include/hw/input/tsc2xxx.h
807807
F: include/hw/misc/cbus.h
808-
F: tests/acceptance/machine_arm_n8x0.py
808+
F: tests/avocado/machine_arm_n8x0.py
809809
F: docs/system/arm/nseries.rst
810810

811811
Palm
@@ -1159,7 +1159,7 @@ M: Edgar E. Iglesias <[email protected]>
11591159
S: Maintained
11601160
F: hw/microblaze/petalogix_s3adsp1800_mmu.c
11611161
F: include/hw/char/xilinx_uartlite.h
1162-
F: tests/acceptance/machine_microblaze.py
1162+
F: tests/avocado/machine_microblaze.py
11631163

11641164
petalogix_ml605
11651165
M: Edgar E. Iglesias <[email protected]>
@@ -1192,8 +1192,8 @@ F: hw/acpi/piix4.c
11921192
F: hw/mips/malta.c
11931193
F: hw/mips/gt64xxx_pci.c
11941194
F: include/hw/southbridge/piix.h
1195-
F: tests/acceptance/linux_ssh_mips_malta.py
1196-
F: tests/acceptance/machine_mips_malta.py
1195+
F: tests/avocado/linux_ssh_mips_malta.py
1196+
F: tests/avocado/machine_mips_malta.py
11971197

11981198
Mipssim
11991199
R: Aleksandar Rikalo <[email protected]>
@@ -1211,7 +1211,7 @@ F: hw/isa/vt82c686.c
12111211
F: hw/pci-host/bonito.c
12121212
F: hw/usb/vt82c686-uhci-pci.c
12131213
F: include/hw/isa/vt82c686.h
1214-
F: tests/acceptance/machine_mips_fuloong2e.py
1214+
F: tests/avocado/machine_mips_fuloong2e.py
12151215

12161216
Loongson-3 virtual platforms
12171217
M: Huacai Chen <[email protected]>
@@ -1221,7 +1221,7 @@ F: hw/intc/loongson_liointc.c
12211221
F: hw/mips/loongson3_bootp.c
12221222
F: hw/mips/loongson3_bootp.h
12231223
F: hw/mips/loongson3_virt.c
1224-
F: tests/acceptance/machine_mips_loongson3v.py
1224+
F: tests/avocado/machine_mips_loongson3v.py
12251225

12261226
Boston
12271227
M: Paul Burton <[email protected]>
@@ -1250,7 +1250,7 @@ Bamboo
12501250
12511251
S: Orphan
12521252
F: hw/ppc/ppc440_bamboo.c
1253-
F: tests/acceptance/ppc_bamboo.py
1253+
F: tests/avocado/ppc_bamboo.py
12541254

12551255
e500
12561256
@@ -1271,7 +1271,7 @@ L: [email protected]
12711271
S: Orphan
12721272
F: hw/ppc/mpc8544ds.c
12731273
F: hw/ppc/mpc8544_guts.c
1274-
F: tests/acceptance/ppc_mpc8544ds.py
1274+
F: tests/avocado/ppc_mpc8544ds.py
12751275

12761276
New World (mac99)
12771277
M: Mark Cave-Ayland <[email protected]>
@@ -1318,7 +1318,7 @@ F: hw/dma/i82374.c
13181318
F: hw/rtc/m48t59-isa.c
13191319
F: include/hw/isa/pc87312.h
13201320
F: include/hw/rtc/m48t59.h
1321-
F: tests/acceptance/ppc_prep_40p.py
1321+
F: tests/avocado/ppc_prep_40p.py
13221322

13231323
sPAPR
13241324
M: David Gibson <[email protected]>
@@ -1336,7 +1336,7 @@ F: tests/qtest/spapr*
13361336
F: tests/qtest/libqos/*spapr*
13371337
F: tests/qtest/rtas*
13381338
F: tests/qtest/libqos/rtas*
1339-
F: tests/acceptance/ppc_pseries.py
1339+
F: tests/avocado/ppc_pseries.py
13401340

13411341
PowerNV (Non-Virtualized)
13421342
M: Cédric Le Goater <[email protected]>
@@ -1356,7 +1356,7 @@ M: Edgar E. Iglesias <[email protected]>
13561356
13571357
S: Odd Fixes
13581358
F: hw/ppc/virtex_ml507.c
1359-
F: tests/acceptance/ppc_virtex_ml507.py
1359+
F: tests/avocado/ppc_virtex_ml507.py
13601360

13611361
sam460ex
13621362
M: BALATON Zoltan <[email protected]>
@@ -1443,7 +1443,7 @@ R: Yoshinori Sato <[email protected]>
14431443
S: Orphan
14441444
F: docs/system/target-rx.rst
14451445
F: hw/rx/rx-gdbsim.c
1446-
F: tests/acceptance/machine_rx_gdbsim.py
1446+
F: tests/avocado/machine_rx_gdbsim.py
14471447

14481448
SH4 Machines
14491449
------------
@@ -1497,7 +1497,7 @@ F: include/hw/pci-host/sabre.h
14971497
F: hw/pci-bridge/simba.c
14981498
F: include/hw/pci-bridge/simba.h
14991499
F: pc-bios/openbios-sparc64
1500-
F: tests/acceptance/machine_sparc64_sun4u.py
1500+
F: tests/avocado/machine_sparc64_sun4u.py
15011501

15021502
Sun4v
15031503
M: Artyom Tarasenko <[email protected]>
@@ -1513,7 +1513,7 @@ S: Maintained
15131513
F: hw/sparc/leon3.c
15141514
F: hw/*/grlib*
15151515
F: include/hw/*/grlib*
1516-
F: tests/acceptance/machine_sparc_leon3.py
1516+
F: tests/avocado/machine_sparc_leon3.py
15171517

15181518
S390 Machines
15191519
-------------
@@ -1528,7 +1528,7 @@ F: include/hw/s390x/
15281528
F: hw/watchdog/wdt_diag288.c
15291529
F: include/hw/watchdog/wdt_diag288.h
15301530
F: configs/devices/s390x-softmmu/default.mak
1531-
F: tests/acceptance/machine_s390_ccw_virtio.py
1531+
F: tests/avocado/machine_s390_ccw_virtio.py
15321532
T: git https://github.com/borntraeger/qemu.git s390-next
15331533
15341534

@@ -2112,7 +2112,7 @@ M: Alex Bennée <[email protected]>
21122112
S: Maintained
21132113
F: hw/core/guest-loader.c
21142114
F: docs/system/guest-loader.rst
2115-
F: tests/acceptance/boot_xen.py
2115+
F: tests/avocado/boot_xen.py
21162116

21172117
Intel Hexadecimal Object File Loader
21182118
M: Su Hang <[email protected]>
@@ -2986,9 +2986,9 @@ F: net/filter-replay.c
29862986
F: include/sysemu/replay.h
29872987
F: docs/replay.txt
29882988
F: stubs/replay.c
2989-
F: tests/acceptance/replay_kernel.py
2990-
F: tests/acceptance/replay_linux.py
2991-
F: tests/acceptance/reverse_debugging.py
2989+
F: tests/avocado/replay_kernel.py
2990+
F: tests/avocado/replay_linux.py
2991+
F: tests/avocado/reverse_debugging.py
29922992
F: qapi/replay.json
29932993

29942994
IOVA Tree
@@ -3105,7 +3105,7 @@ S: Maintained
31053105
F: docs/devel/tcg-plugins.rst
31063106
F: plugins/
31073107
F: tests/plugin/
3108-
F: tests/acceptance/tcg_plugins.py
3108+
F: tests/avocado/tcg_plugins.py
31093109
F: contrib/plugins/
31103110

31113111
AArch64 TCG target
@@ -3494,14 +3494,14 @@ S: Maintained
34943494
F: tests/tcg/Makefile
34953495
F: tests/tcg/Makefile.include
34963496

3497-
Acceptance (Integration) Testing with the Avocado framework
3497+
Integration Testing with the Avocado framework
34983498
W: https://trello.com/b/6Qi1pxVn/avocado-qemu
34993499
R: Cleber Rosa <[email protected]>
35003500
R: Philippe Mathieu-Daudé <[email protected]>
35013501
R: Wainer dos Santos Moschetta <[email protected]>
35023502
R: Willian Rampazzo <[email protected]>
35033503
S: Odd Fixes
3504-
F: tests/acceptance/
3504+
F: tests/avocado/
35053505

35063506
Documentation
35073507
-------------

0 commit comments

Comments
 (0)