Skip to contentSkip to conversation

acceptance tests: rename acceptance to system

RFC In review Willian Rampazzo 7 participants 21 messages May 20, 2021 – May 21, 2021 Broadcom iproc Arm architecture

lore
Share & tools
lore
#0 lore raw

cover acceptance tests: rename acceptance to system

CI pipeline: https://gitlab.com/willianrampazzo/qemu/-/pipelines/306850452

Conceptually speaking, acceptance tests "are a series of specific tests conducted by the customer in an attempt to uncover product errors before accepting the software from the developer. Conducted by the end-user rather than software engineers, acceptance testing can range from an informal “test drive” to a planned and systematically executed series of scripted tests" [1]. Every time Pressman refers to the term "acceptance testing," he also refers to user's agreement in the final state of an implemented feature. Today, QEMU is not implementing user acceptance tests as described by Pressman.

There are other three possible terms we could use to describe what is currently QEMU "acceptance" tests:

1 - Integration tests:
- "Integration testing is a systematic technique for constructing the software architecture while at the same time conducting tests to uncover errors associated with interfacing. The objective is to take unit-tested components and build a program structure that has been dictated by design." [2]
* Note: Sommerville does not have a clear definition of integration testing. He refers to incremental integration of components inside the system testing (see [3]).

2 - Validation tests:
- "Validation testing begins at the culmination of integration testing, when individual components have been exercised, the software is completely assembled as a package, and interfacing errors have been uncovered and corrected. At the validation or system level, the distinction between different software categories disappears. Testing focuses on user-visible actions and user-recognizable output from the system." [4]
- "where you expect the system to perform correctly using a set of test cases that reflect the system’s expected use." [5]
* Note: the definition of "validation testing" from Sommerville reflects the same definition found around the Internet, as one of the processes inside the "Verification & Validation (V&V)." In this concept, validation testing is a high-level definition that covers unit testing, functional testing, integration testing, system testing, and acceptance testing.

3 - System tests:
- "verifies that all elements mesh properly and that overall system function and performance is achieved." [6]
- "involves integrating components to create a version of the system and then testing the integrated system. System testing checks that components are compatible, interact correctly, and transfer the right data at the right time across their interfaces." [7]

The tests implemented inside the QEMU "acceptance" directory depend on the software completely assembled and, sometimes, on other elements, like operating system images. In this case, the proposal here is to rename the current "acceptance" directory to "system."

[1] Pressman, Roger S. & Maxim, Bruce R. (2020). Software Engineering, A Practitioner’s Approach. p. 430.
[2] Pressman, Roger S. & Maxim, Bruce R. (2020). Software Engineering, A Practitioner’s Approach. Software Engineering, p. 398.
[3] Sommerville, Ian (2016). Software Engineering. p. 240-242.
[4] Pressman, Roger S. & Maxim, Bruce R. (2020). Software Engineering, A Practitioner’s Approach. Software Engineering, p. 407.
[5] Sommerville, Ian (2016). Software Engineering. p. 227.
[6] Pressman, Roger S. & Maxim, Bruce R. (2020). Software Engineering, A Practitioner’s Approach. Software Engineering, p. 377.
[7] Sommerville, Ian (2016). Software Engineering. p. 240.

Willian Rampazzo (1):
acceptance tests: rename acceptance to system

 .gitlab-ci.yml                                | 58 +++++++++----------
 MAINTAINERS                                   | 40 ++++++-------
 configure                                     |  2 +-
 docs/devel/build-system.rst                   |  2 +-
 docs/devel/testing.rst                        | 23 ++++----
 docs/system/arm/orangepi.rst                  |  8 +--
 tests/Makefile.include                        | 14 ++---
 tests/acceptance/README.rst                   | 10 ----
 tests/system/README.rst                       | 10 ++++
 .../avocado_qemu/__init__.py                  |  2 +-
 tests/{acceptance => system}/boot_linux.py    |  0
 .../boot_linux_console.py                     |  0
 tests/{acceptance => system}/boot_xen.py      |  0
 tests/{acceptance => system}/cpu_queries.py   |  0
 .../{acceptance => system}/empty_cpu_model.py |  0
 tests/{acceptance => system}/linux_initrd.py  |  2 +-
 .../linux_ssh_mips_malta.py                   |  0
 .../machine_arm_canona1100.py                 |  0
 .../machine_arm_integratorcp.py               |  0
 .../machine_arm_n8x0.py                       |  0
 tests/{acceptance => system}/machine_avr6.py  |  2 +-
 .../machine_m68k_nextcube.py                  |  0
 .../machine_microblaze.py                     |  0
 .../machine_mips_loongson3v.py                |  0
 .../machine_mips_malta.py                     |  0
 tests/{acceptance => system}/machine_ppc.py   |  0
 .../machine_rx_gdbsim.py                      |  0
 .../machine_s390_ccw_virtio.py                |  0
 .../machine_sparc64_sun4u.py                  |  0
 .../machine_sparc_leon3.py                    |  0
 tests/{acceptance => system}/migration.py     |  0
 tests/{acceptance => system}/multiprocess.py  |  0
 .../pc_cpu_hotplug_props.py                   |  0
 tests/{acceptance => system}/ppc_prep_40p.py  |  0
 tests/{acceptance => system}/replay_kernel.py |  0
 .../reverse_debugging.py                      |  0
 tests/{acceptance => system}/tcg_plugins.py   |  0
 .../{acceptance => system}/tesseract_utils.py |  0
 tests/{acceptance => system}/version.py       |  0
 tests/{acceptance => system}/virtio-gpu.py    |  0
 .../virtio_check_params.py                    |  0
 .../{acceptance => system}/virtio_version.py  |  0
 .../virtiofs_submounts.py                     |  0
 .../virtiofs_submounts.py.data/cleanup.sh     |  0
 .../guest-cleanup.sh                          |  0
 .../virtiofs_submounts.py.data/guest.sh       |  0
 .../virtiofs_submounts.py.data/host.sh        |  0
 tests/{acceptance => system}/vnc.py           |  0
 .../x86_cpu_model_versions.py                 |  0
 49 files changed, 86 insertions(+), 87 deletions(-)
 delete mode 100644 tests/acceptance/README.rst
 create mode 100644 tests/system/README.rst
 rename tests/{acceptance => system}/avocado_qemu/__init__.py (99%)
 rename tests/{acceptance => system}/boot_linux.py (100%)
 rename tests/{acceptance => system}/boot_linux_console.py (100%)
 rename tests/{acceptance => system}/boot_xen.py (100%)
 rename tests/{acceptance => system}/cpu_queries.py (100%)
 rename tests/{acceptance => system}/empty_cpu_model.py (100%)
 rename tests/{acceptance => system}/linux_initrd.py (99%)
 rename tests/{acceptance => system}/linux_ssh_mips_malta.py (100%)
 rename tests/{acceptance => system}/machine_arm_canona1100.py (100%)
 rename tests/{acceptance => system}/machine_arm_integratorcp.py (100%)
 rename tests/{acceptance => system}/machine_arm_n8x0.py (100%)
 rename tests/{acceptance => system}/machine_avr6.py (98%)
 rename tests/{acceptance => system}/machine_m68k_nextcube.py (100%)
 rename tests/{acceptance => system}/machine_microblaze.py (100%)
 rename tests/{acceptance => system}/machine_mips_loongson3v.py (100%)
 rename tests/{acceptance => system}/machine_mips_malta.py (100%)
 rename tests/{acceptance => system}/machine_ppc.py (100%)
 rename tests/{acceptance => system}/machine_rx_gdbsim.py (100%)
 rename tests/{acceptance => system}/machine_s390_ccw_virtio.py (100%)
 rename tests/{acceptance => system}/machine_sparc64_sun4u.py (100%)
 rename tests/{acceptance => system}/machine_sparc_leon3.py (100%)
 rename tests/{acceptance => system}/migration.py (100%)
 rename tests/{acceptance => system}/multiprocess.py (100%)
 rename tests/{acceptance => system}/pc_cpu_hotplug_props.py (100%)
 rename tests/{acceptance => system}/ppc_prep_40p.py (100%)
 rename tests/{acceptance => system}/replay_kernel.py (100%)
 rename tests/{acceptance => system}/reverse_debugging.py (100%)
 rename tests/{acceptance => system}/tcg_plugins.py (100%)
 rename tests/{acceptance => system}/tesseract_utils.py (100%)
 rename tests/{acceptance => system}/version.py (100%)
 rename tests/{acceptance => system}/virtio-gpu.py (100%)
 rename tests/{acceptance => system}/virtio_check_params.py (100%)
 rename tests/{acceptance => system}/virtio_version.py (100%)
 rename tests/{acceptance => system}/virtiofs_submounts.py (100%)
 rename tests/{acceptance => system}/virtiofs_submounts.py.data/cleanup.sh (100%)
 rename tests/{acceptance => system}/virtiofs_submounts.py.data/guest-cleanup.sh (100%)
 rename tests/{acceptance => system}/virtiofs_submounts.py.data/guest.sh (100%)
 rename tests/{acceptance => system}/virtiofs_submounts.py.data/host.sh (100%)
 rename tests/{acceptance => system}/vnc.py (100%)
 rename tests/{acceptance => system}/x86_cpu_model_versions.py (100%)
Signature · 1 line
2.31.1
#1 lore raw

RFC 1/1 acceptance tests: rename acceptance to system

Conceptually speaking, acceptance tests "are a series of specific tests conducted by the customer in an attempt to uncover product errors before accepting the software from the developer. Conducted by the end-user rather than software engineers, acceptance testing can range from an informal “test drive” to a planned and systematically executed series of scripted tests" [1]. Every time Pressman refers to the term "acceptance testing," he also refers to user's agreement in the final state of an implemented feature. Today, QEMU is not implementing user acceptance tests as described by Pressman.

There are other three possible terms we could use to describe what is currently QEMU "acceptance" tests:

1 - Integration tests:
- "Integration testing is a systematic technique for constructing the software architecture while at the same time conducting tests to uncover errors associated with interfacing. The objective is to take unit-tested components and build a program structure that has been dictated by design." [2]
* Note: Sommerville does not have a clear definition of integration testing. He refers to incremental integration of components inside the system testing (see [3]).

2 - Validation tests:
- "Validation testing begins at the culmination of integration testing, when individual components have been exercised, the software is completely assembled as a package, and interfacing errors have been uncovered and corrected. At the validation or system level, the distinction between different software categories disappears. Testing focuses on user-visible actions and user-recognizable output from the system." [4]
- "where you expect the system to perform correctly using a set of test cases that reflect the system’s expected use." [5]
* Note: the definition of "validation testing" from Sommerville reflects the same definition found around the Internet, as one of the processes inside the "Verification & Validation (V&V)." In this concept, validation testing is a high-level definition that covers unit testing, functional testing, integration testing, system testing, and acceptance testing.

3 - System tests:
- "verifies that all elements mesh properly and that overall system function and performance is achieved." [6]
- "involves integrating components to create a version of the system and then testing the integrated system. System testing checks that components are compatible, interact correctly, and transfer the right data at the right time across their interfaces." [7]

The tests implemented inside the QEMU "acceptance" directory depend on the software completely assembled and, sometimes, on other elements, like operating system images. In this case, the proposal here is to rename the current "acceptance" directory to "system."

[1] Pressman, Roger S. & Maxim, Bruce R. (2020). Software Engineering, A Practitioner’s Approach. p. 430.
[2] Pressman, Roger S. & Maxim, Bruce R. (2020). Software Engineering, A Practitioner’s Approach. Software Engineering, p. 398.
[3] Sommerville, Ian (2016). Software Engineering. p. 240-242.
[4] Pressman, Roger S. & Maxim, Bruce R. (2020). Software Engineering, A Practitioner’s Approach. Software Engineering, p. 407.
[5] Sommerville, Ian (2016). Software Engineering. p. 227.
[6] Pressman, Roger S. & Maxim, Bruce R. (2020). Software Engineering, A Practitioner’s Approach. Software Engineering, p. 377.
[7] Sommerville, Ian (2016). Software Engineering. p. 240.

---
 .gitlab-ci.yml                                | 58 +++++++++----------
 MAINTAINERS                                   | 40 ++++++-------
 configure                                     |  2 +-
 docs/devel/build-system.rst                   |  2 +-
 docs/devel/testing.rst                        | 23 ++++----
 docs/system/arm/orangepi.rst                  |  8 +--
 tests/Makefile.include                        | 14 ++---
 tests/acceptance/README.rst                   | 10 ----
 tests/system/README.rst                       | 10 ++++
 .../avocado_qemu/__init__.py                  |  2 +-
 tests/{acceptance => system}/boot_linux.py    |  0
 .../boot_linux_console.py                     |  0
 tests/{acceptance => system}/boot_xen.py      |  0
 tests/{acceptance => system}/cpu_queries.py   |  0
 .../{acceptance => system}/empty_cpu_model.py |  0
 tests/{acceptance => system}/linux_initrd.py  |  2 +-
 .../linux_ssh_mips_malta.py                   |  0
 .../machine_arm_canona1100.py                 |  0
 .../machine_arm_integratorcp.py               |  0
 .../machine_arm_n8x0.py                       |  0
 tests/{acceptance => system}/machine_avr6.py  |  2 +-
 .../machine_m68k_nextcube.py                  |  0
 .../machine_microblaze.py                     |  0
 .../machine_mips_loongson3v.py                |  0
 .../machine_mips_malta.py                     |  0
 tests/{acceptance => system}/machine_ppc.py   |  0
 .../machine_rx_gdbsim.py                      |  0
 .../machine_s390_ccw_virtio.py                |  0
 .../machine_sparc64_sun4u.py                  |  0
 .../machine_sparc_leon3.py                    |  0
 tests/{acceptance => system}/migration.py     |  0
 tests/{acceptance => system}/multiprocess.py  |  0
 .../pc_cpu_hotplug_props.py                   |  0
 tests/{acceptance => system}/ppc_prep_40p.py  |  0
 tests/{acceptance => system}/replay_kernel.py |  0
 .../reverse_debugging.py                      |  0
 tests/{acceptance => system}/tcg_plugins.py   |  0
 .../{acceptance => system}/tesseract_utils.py |  0
 tests/{acceptance => system}/version.py       |  0
 tests/{acceptance => system}/virtio-gpu.py    |  0
 .../virtio_check_params.py                    |  0
 .../{acceptance => system}/virtio_version.py  |  0
 .../virtiofs_submounts.py                     |  0
 .../virtiofs_submounts.py.data/cleanup.sh     |  0
 .../guest-cleanup.sh                          |  0
 .../virtiofs_submounts.py.data/guest.sh       |  0
 .../virtiofs_submounts.py.data/host.sh        |  0
 tests/{acceptance => system}/vnc.py           |  0
 .../x86_cpu_model_versions.py                 |  0
 49 files changed, 86 insertions(+), 87 deletions(-)
 delete mode 100644 tests/acceptance/README.rst
 create mode 100644 tests/system/README.rst
 rename tests/{acceptance => system}/avocado_qemu/__init__.py (99%)
 rename tests/{acceptance => system}/boot_linux.py (100%)
 rename tests/{acceptance => system}/boot_linux_console.py (100%)
 rename tests/{acceptance => system}/boot_xen.py (100%)
 rename tests/{acceptance => system}/cpu_queries.py (100%)
 rename tests/{acceptance => system}/empty_cpu_model.py (100%)
 rename tests/{acceptance => system}/linux_initrd.py (99%)
 rename tests/{acceptance => system}/linux_ssh_mips_malta.py (100%)
 rename tests/{acceptance => system}/machine_arm_canona1100.py (100%)
 rename tests/{acceptance => system}/machine_arm_integratorcp.py (100%)
 rename tests/{acceptance => system}/machine_arm_n8x0.py (100%)
 rename tests/{acceptance => system}/machine_avr6.py (98%)
 rename tests/{acceptance => system}/machine_m68k_nextcube.py (100%)
 rename tests/{acceptance => system}/machine_microblaze.py (100%)
 rename tests/{acceptance => system}/machine_mips_loongson3v.py (100%)
 rename tests/{acceptance => system}/machine_mips_malta.py (100%)
 rename tests/{acceptance => system}/machine_ppc.py (100%)
 rename tests/{acceptance => system}/machine_rx_gdbsim.py (100%)
 rename tests/{acceptance => system}/machine_s390_ccw_virtio.py (100%)
 rename tests/{acceptance => system}/machine_sparc64_sun4u.py (100%)
 rename tests/{acceptance => system}/machine_sparc_leon3.py (100%)
 rename tests/{acceptance => system}/migration.py (100%)
 rename tests/{acceptance => system}/multiprocess.py (100%)
 rename tests/{acceptance => system}/pc_cpu_hotplug_props.py (100%)
 rename tests/{acceptance => system}/ppc_prep_40p.py (100%)
 rename tests/{acceptance => system}/replay_kernel.py (100%)
 rename tests/{acceptance => system}/reverse_debugging.py (100%)
 rename tests/{acceptance => system}/tcg_plugins.py (100%)
 rename tests/{acceptance => system}/tesseract_utils.py (100%)
 rename tests/{acceptance => system}/version.py (100%)
 rename tests/{acceptance => system}/virtio-gpu.py (100%)
 rename tests/{acceptance => system}/virtio_check_params.py (100%)
 rename tests/{acceptance => system}/virtio_version.py (100%)
 rename tests/{acceptance => system}/virtiofs_submounts.py (100%)
 rename tests/{acceptance => system}/virtiofs_submounts.py.data/cleanup.sh (100%)
 rename tests/{acceptance => system}/virtiofs_submounts.py.data/guest-cleanup.sh (100%)
 rename tests/{acceptance => system}/virtiofs_submounts.py.data/guest.sh (100%)
 rename tests/{acceptance => system}/virtiofs_submounts.py.data/host.sh (100%)
 rename tests/{acceptance => system}/vnc.py (100%)
 rename tests/{acceptance => system}/x86_cpu_model_versions.py (100%)
.gitlab-ci.yml +29 -29
index f718b61fa7..c5de3c9fd5 100644
@@ -52,7 +52,7 @@ include:
     # Avoid recompiling by hiding ninja with NINJA=":"
     - make NINJA=":" $MAKE_CHECK_ARGS
 
-.acceptance_template: &acceptance_definition
+.system_template: &system_definition
   cache:
     key: "${CI_JOB_NAME}-cache"
     paths:
@@ -107,15 +107,15 @@ check-system-alpine:
     IMAGE: alpine
     MAKE_CHECK_ARGS: check
 
-acceptance-system-alpine:
+system-test-system-alpine:
   extends: .native_test_job_template
   needs:
     - job: build-system-alpine
       artifacts: true
   variables:
     IMAGE: alpine
-    MAKE_CHECK_ARGS: check-acceptance
-  <<: *acceptance_definition
+    MAKE_CHECK_ARGS: check-system
+  <<: *system_definition
 
 build-system-ubuntu:
   extends: .native_build_job_template
@@ -141,15 +141,15 @@ check-system-ubuntu:
     IMAGE: ubuntu2004
     MAKE_CHECK_ARGS: check
 
-acceptance-system-ubuntu:
+system-test-system-ubuntu:
   extends: .native_test_job_template
   needs:
     - job: build-system-ubuntu
       artifacts: true
   variables:
     IMAGE: ubuntu2004
-    MAKE_CHECK_ARGS: check-acceptance
-  <<: *acceptance_definition
+    MAKE_CHECK_ARGS: check-system
+  <<: *system_definition
 
 build-system-debian:
   extends: .native_build_job_template
@@ -175,15 +175,15 @@ check-system-debian:
     IMAGE: debian-amd64
     MAKE_CHECK_ARGS: check
 
-acceptance-system-debian:
+system-test-system-debian:
   extends: .native_test_job_template
   needs:
     - job: build-system-debian
       artifacts: true
   variables:
     IMAGE: debian-amd64
-    MAKE_CHECK_ARGS: check-acceptance
-  <<: *acceptance_definition
+    MAKE_CHECK_ARGS: check-system
+  <<: *system_definition
 
 build-system-fedora:
   extends: .native_build_job_template
@@ -210,15 +210,15 @@ check-system-fedora:
     IMAGE: fedora
     MAKE_CHECK_ARGS: check
 
-acceptance-system-fedora:
+system-test-system-fedora:
   extends: .native_test_job_template
   needs:
     - job: build-system-fedora
       artifacts: true
   variables:
     IMAGE: fedora
-    MAKE_CHECK_ARGS: check-acceptance
-  <<: *acceptance_definition
+    MAKE_CHECK_ARGS: check-system
+  <<: *system_definition
 
 build-system-centos:
   extends: .native_build_job_template
@@ -245,15 +245,15 @@ check-system-centos:
     IMAGE: centos8
     MAKE_CHECK_ARGS: check
 
-acceptance-system-centos:
+system-test-system-centos:
   extends: .native_test_job_template
   needs:
     - job: build-system-centos
       artifacts: true
   variables:
     IMAGE: centos8
-    MAKE_CHECK_ARGS: check-acceptance
-  <<: *acceptance_definition
+    MAKE_CHECK_ARGS: check-system
+  <<: *system_definition
 
 build-system-opensuse:
   extends: .native_build_job_template
@@ -278,15 +278,15 @@ check-system-opensuse:
     IMAGE: opensuse-leap
     MAKE_CHECK_ARGS: check
 
-acceptance-system-opensuse:
+system-test-system-opensuse:
   extends: .native_test_job_template
   needs:
     - job: build-system-opensuse
       artifacts: true
   variables:
     IMAGE: opensuse-leap
-    MAKE_CHECK_ARGS: check-acceptance
-  <<: *acceptance_definition
+    MAKE_CHECK_ARGS: check-system
+  <<: *system_definition
 
 
 build-disabled:
@@ -502,7 +502,7 @@ clang-user:
 # This can be accomplished by using -enable-slirp=git, which avoids the use of
 # a system-wide version of the library
 #
-# Split in three sets of build/check/acceptance to limit the execution time of each
+# Split in three sets of build/check/system to limit the execution time of each
 # job
 build-cfi-aarch64:
   extends: .native_build_job_template
@@ -531,15 +531,15 @@ check-cfi-aarch64:
     IMAGE: fedora
     MAKE_CHECK_ARGS: check
 
-acceptance-cfi-aarch64:
+system-test-cfi-aarch64:
   extends: .native_test_job_template
   needs:
     - job: build-cfi-aarch64
       artifacts: true
   variables:
     IMAGE: fedora
-    MAKE_CHECK_ARGS: check-acceptance
-  <<: *acceptance_definition
+    MAKE_CHECK_ARGS: check-system
+  <<: *system_definition
 
 build-cfi-ppc64-s390x:
   extends: .native_build_job_template
@@ -568,15 +568,15 @@ check-cfi-ppc64-s390x:
     IMAGE: fedora
     MAKE_CHECK_ARGS: check
 
-acceptance-cfi-ppc64-s390x:
+system-test-cfi-ppc64-s390x:
   extends: .native_test_job_template
   needs:
     - job: build-cfi-ppc64-s390x
       artifacts: true
   variables:
     IMAGE: fedora
-    MAKE_CHECK_ARGS: check-acceptance
-  <<: *acceptance_definition
+    MAKE_CHECK_ARGS: check-system
+  <<: *system_definition
 
 build-cfi-x86_64:
   extends: .native_build_job_template
@@ -605,15 +605,15 @@ check-cfi-x86_64:
     IMAGE: fedora
     MAKE_CHECK_ARGS: check
 
-acceptance-cfi-x86_64:
+system-test-cfi-x86_64:
   extends: .native_test_job_template
   needs:
     - job: build-cfi-x86_64
       artifacts: true
   variables:
     IMAGE: fedora
-    MAKE_CHECK_ARGS: check-acceptance
-  <<: *acceptance_definition
+    MAKE_CHECK_ARGS: check-system
+  <<: *system_definition
 
 tsan-build:
   extends: .native_build_job_template
MAINTAINERS +20 -20
index 75e0f2d750..bc8a2dd248 100644
@@ -178,7 +178,7 @@ S: Maintained
 F: docs/system/target-avr.rst
 F: gdb-xml/avr-cpu.xml
 F: target/avr/
-F: tests/acceptance/machine_avr6.py
+F: tests/system/machine_avr6.py
 
 CRIS TCG CPUs
 M: Edgar E. Iglesias <[email protected]>
@@ -272,7 +272,7 @@ F: target/ppc/
 F: hw/ppc/
 F: include/hw/ppc/
 F: disas/ppc.c
-F: tests/acceptance/machine_ppc.py
+F: tests/system/machine_ppc.py
 
 RISC-V TCG CPUs
 M: Palmer Dabbelt <[email protected]>
@@ -641,7 +641,7 @@ S: Odd Fixes
 F: include/hw/arm/digic.h
 F: hw/*/digic*
 F: include/hw/*/digic*
-F: tests/acceptance/machine_arm_canona1100.py
+F: tests/system/machine_arm_canona1100.py
 F: docs/system/arm/digic.rst
 
 Goldfish RTC
@@ -690,7 +690,7 @@ S: Maintained
 F: hw/arm/integratorcp.c
 F: hw/misc/arm_integrator_debug.c
 F: include/hw/misc/arm_integrator_debug.h
-F: tests/acceptance/machine_arm_integratorcp.py
+F: tests/system/machine_arm_integratorcp.py
 F: docs/system/arm/integratorcp.rst
 
 MCIMX6UL EVK / i.MX6ul
@@ -787,7 +787,7 @@ F: hw/rtc/twl92230.c
 F: include/hw/display/blizzard.h
 F: include/hw/input/tsc2xxx.h
 F: include/hw/misc/cbus.h
-F: tests/acceptance/machine_arm_n8x0.py
+F: tests/system/machine_arm_n8x0.py
 F: docs/system/arm/nseries.rst
 
 Palm
@@ -1123,7 +1123,7 @@ M: Edgar E. Iglesias <[email protected]>
 S: Maintained
 F: hw/microblaze/petalogix_s3adsp1800_mmu.c
 F: include/hw/char/xilinx_uartlite.h
-F: tests/acceptance/machine_microblaze.py
+F: tests/system/machine_microblaze.py
 
 petalogix_ml605
 M: Edgar E. Iglesias <[email protected]>
@@ -1149,8 +1149,8 @@ F: hw/acpi/piix4.c
 F: hw/mips/malta.c
 F: hw/mips/gt64xxx_pci.c
 F: include/hw/southbridge/piix.h
-F: tests/acceptance/linux_ssh_mips_malta.py
-F: tests/acceptance/machine_mips_malta.py
+F: tests/system/linux_ssh_mips_malta.py
+F: tests/system/machine_mips_malta.py
 
 Mipssim
 R: Aleksandar Rikalo <[email protected]>
@@ -1177,7 +1177,7 @@ F: hw/intc/loongson_liointc.c
 F: hw/mips/loongson3_bootp.c
 F: hw/mips/loongson3_bootp.h
 F: hw/mips/loongson3_virt.c
-F: tests/acceptance/machine_mips_loongson3v.py
+F: tests/system/machine_mips_loongson3v.py
 
 Boston
 M: Paul Burton <[email protected]>
@@ -1284,7 +1284,7 @@ F: hw/dma/i82374.c
 F: hw/rtc/m48t59-isa.c
 F: include/hw/isa/pc87312.h
 F: include/hw/rtc/m48t59.h
-F: tests/acceptance/ppc_prep_40p.py
+F: tests/system/ppc_prep_40p.py
 
 sPAPR
 M: David Gibson <[email protected]>
@@ -1402,7 +1402,7 @@ R: Yoshinori Sato <[email protected]>
 S: Orphan
 F: docs/system/target-rx.rst
 F: hw/rx/rx-gdbsim.c
-F: tests/acceptance/machine_rx_gdbsim.py
+F: tests/system/machine_rx_gdbsim.py
 
 SH4 Machines
 ------------
@@ -1456,7 +1456,7 @@ F: include/hw/pci-host/sabre.h
 F: hw/pci-bridge/simba.c
 F: include/hw/pci-bridge/simba.h
 F: pc-bios/openbios-sparc64
-F: tests/acceptance/machine_sparc64_sun4u.py
+F: tests/system/machine_sparc64_sun4u.py
 
 Sun4v
 M: Artyom Tarasenko <[email protected]>
@@ -1472,7 +1472,7 @@ S: Maintained
 F: hw/sparc/leon3.c
 F: hw/*/grlib*
 F: include/hw/*/grlib*
-F: tests/acceptance/machine_sparc_leon3.py
+F: tests/system/machine_sparc_leon3.py
 
 S390 Machines
 -------------
@@ -1488,7 +1488,7 @@ F: include/hw/s390x/
 F: hw/watchdog/wdt_diag288.c
 F: include/hw/watchdog/wdt_diag288.h
 F: default-configs/*/s390x-softmmu.mak
-F: tests/acceptance/machine_s390_ccw_virtio.py
+F: tests/system/machine_s390_ccw_virtio.py
 T: git https://gitlab.com/cohuck/qemu.git s390-next
 T: git https://github.com/borntraeger/qemu.git s390-next
 L: [email protected]
@@ -2045,7 +2045,7 @@ M: Alex Bennée <[email protected]>
 S: Maintained
 F: hw/core/guest-loader.c
 F: docs/system/guest-loader.rst
-F: tests/acceptance/boot_xen.py
+F: tests/system/boot_xen.py
 
 Intel Hexadecimal Object File Loader
 M: Su Hang <[email protected]>
@@ -2854,8 +2854,8 @@ F: net/filter-replay.c
 F: include/sysemu/replay.h
 F: docs/replay.txt
 F: stubs/replay.c
-F: tests/acceptance/replay_kernel.py
-F: tests/acceptance/reverse_debugging.py
+F: tests/system/replay_kernel.py
+F: tests/system/reverse_debugging.py
 F: qapi/replay.json
 
 IOVA Tree
@@ -2970,7 +2970,7 @@ S: Maintained
 F: docs/devel/tcg-plugins.rst
 F: plugins/
 F: tests/plugin/
-F: tests/acceptance/tcg_plugins.py
+F: tests/system/tcg_plugins.py
 F: contrib/plugins/
 
 AArch64 TCG target
@@ -3348,13 +3348,13 @@ S: Maintained
 F: tests/tcg/Makefile
 F: tests/tcg/Makefile.include
 
-Acceptance (Integration) Testing with the Avocado framework
+System Testing with the Avocado framework
 W: https://trello.com/b/6Qi1pxVn/avocado-qemu
 R: Cleber Rosa <[email protected]>
 R: Philippe Mathieu-Daudé <[email protected]>
 R: Wainer dos Santos Moschetta <[email protected]>
 S: Odd Fixes
-F: tests/acceptance/
+F: tests/system/
 
 Documentation
 -------------
configure +1 -1
index 9470fff09a..70a3ab0095 100755
@@ -6290,7 +6290,7 @@ LINKS="$LINKS pc-bios/s390-ccw/Makefile"
 LINKS="$LINKS roms/seabios/Makefile"
 LINKS="$LINKS pc-bios/qemu-icon.bmp"
 LINKS="$LINKS .gdbinit scripts" # scripts needed by relative path in .gdbinit
-LINKS="$LINKS tests/acceptance tests/data"
+LINKS="$LINKS tests/system tests/data"
 LINKS="$LINKS tests/qemu-iotests/check"
 LINKS="$LINKS python"
 LINKS="$LINKS contrib/plugins/Makefile "
docs/devel/build-system.rst +1 -1
index 7ef36f42d0..4ee01d270b 100644
@@ -387,7 +387,7 @@ number of dynamically created files listed later.
 
 `tests/Makefile.include`
   Rules for external test harnesses. These include the TCG tests,
-  `qemu-iotests` and the Avocado-based acceptance tests.
+  `qemu-iotests` and the Avocado-based system tests.
 
 `tests/docker/Makefile.include`
   Rules for Docker tests. Like tests/Makefile, this file is included
docs/devel/testing.rst +11 -12
index 1da4c4e4c4..e60a035bca 100644
@@ -643,17 +643,16 @@ supported. To start the fuzzer, run
 Alternatively, some command different from "qemu-img info" can be tested, by
 changing the ``-c`` option.
 
-Acceptance tests using the Avocado Framework
-============================================
+System tests using the Avocado Framework
+========================================
 
-The ``tests/acceptance`` directory hosts functional tests, also known
-as acceptance level tests.  They're usually higher level tests, and
-may interact with external resources and with various guest operating
-systems.
+The ``tests/system`` directory hosts system tests. They're usually higher
+level tests, and may interact with external resources and with various
+guest operating systems.
 
 These tests are written using the Avocado Testing Framework (which must
 be installed separately) in conjunction with a the ``avocado_qemu.Test``
-class, implemented at ``tests/acceptance/avocado_qemu``.
+class, implemented at ``tests/system/avocado_qemu``.
 
 Tests based on ``avocado_qemu.Test`` can easily:
 
@@ -685,11 +684,11 @@ Tests based on ``avocado_qemu.Test`` can easily:
 Running tests
 -------------
 
-You can run the acceptance tests simply by executing:
+You can run the system tests simply by executing:
 
 .. code::
 
-  make check-acceptance
+  make check-system
 
 This involves the automatic creation of Python virtual environment
 within the build tree (at ``tests/venv``) which will have all the
@@ -709,7 +708,7 @@ may be invoked by running:
 
  .. code::
 
-  tests/venv/bin/avocado run $OPTION1 $OPTION2 tests/acceptance/
+  tests/venv/bin/avocado run $OPTION1 $OPTION2 tests/system/
 
 Manual Installation
 -------------------
@@ -727,7 +726,7 @@ Alternatively, follow the instructions on this link:
 Overview
 --------
 
-The ``tests/acceptance/avocado_qemu`` directory provides the
+The ``tests/system/avocado_qemu`` directory provides the
 ``avocado_qemu`` Python module, containing the ``avocado_qemu.Test``
 class.  Here's a simple usage example:
 
@@ -1011,7 +1010,7 @@ And remove any package you want with::
 
   pip uninstall <package_name>
 
-If you've used ``make check-acceptance``, the Python virtual environment where
+If you've used ``make check-system``, the Python virtual environment where
 Avocado is installed will be cleaned up as part of ``make check-clean``.
 
 .. _checktcg-ref:
docs/system/arm/orangepi.rst +4 -4
index 6f23907fb6..84124b104d 100644
@@ -250,14 +250,14 @@ and set the following environment variables before booting:
 Optionally you may save the environment variables to SD card with 'saveenv'.
 To continue booting simply give the 'boot' command and NetBSD boots.
 
-Orange Pi PC acceptance tests
-"""""""""""""""""""""""""""""
+Orange Pi PC system tests
+"""""""""""""""""""""""""
 
-The Orange Pi PC machine has several acceptance tests included.
+The Orange Pi PC machine has several system tests included.
 To run the whole set of tests, build QEMU from source and simply
 provide the following command:
 
 .. code-block:: bash
 
   $ AVOCADO_ALLOW_LARGE_STORAGE=yes avocado --show=app,console run \
-     -t machine:orangepi-pc tests/acceptance/boot_linux_console.py
+     -t machine:orangepi-pc tests/system/boot_linux_console.py
tests/Makefile.include +7 -7
index 8f220e15d1..c580292bb5 100644
@@ -16,7 +16,7 @@ ifneq ($(filter $(all-check-targets), check-softfloat),)
 	@echo " $(MAKE) check-tcg            Run TCG tests"
 	@echo " $(MAKE) check-softfloat      Run FPU emulation tests"
 endif
-	@echo " $(MAKE) check-acceptance     Run all acceptance (functional) tests"
+	@echo " $(MAKE) check-system         Run all system tests"
 	@echo
 	@echo " $(MAKE) check-report.tap     Generates an aggregated TAP test report"
 	@echo " $(MAKE) check-venv           Creates a Python venv for tests"
@@ -24,7 +24,7 @@ endif
 	@echo
 	@echo "The following are useful for CI builds"
 	@echo " $(MAKE) check-build          Build most test binaris"
-	@echo " $(MAKE) get-vm-images        Downloads all images used by acceptance tests, according to configured targets (~350 MB each, 1.5 GB max)"
+	@echo " $(MAKE) get-vm-images        Downloads all images used by system tests, according to configured targets (~350 MB each, 1.5 GB max)"
 	@echo
 	@echo
 	@echo "The variable SPEED can be set to control the gtester speed setting."
@@ -83,7 +83,7 @@ clean-tcg: $(CLEAN_TCG_TARGET_RULES)
 
 # Python venv for running tests
 
-.PHONY: check-venv check-acceptance
+.PHONY: check-venv check-system
 
 TESTS_VENV_DIR=$(BUILD_DIR)/tests/venv
 TESTS_VENV_REQ=$(SRC_PATH)/tests/requirements.txt
@@ -119,19 +119,19 @@ get-vm-image-fedora-31-%: check-venv
 	$(call quiet-command, \
              $(TESTS_VENV_DIR)/bin/python -m avocado vmimage get \
              --distro=fedora --distro-version=31 --arch=$*, \
-	"AVOCADO", "Downloading acceptance tests VM image for $*")
+	"AVOCADO", "Downloading system tests VM image for $*")
 
 # download all vm images, according to defined targets
 get-vm-images: check-venv $(patsubst %,get-vm-image-fedora-31-%, $(FEDORA_31_DOWNLOAD))
 
-check-acceptance: check-venv $(TESTS_RESULTS_DIR) get-vm-images
+check-system: check-venv $(TESTS_RESULTS_DIR) get-vm-images
 	$(call quiet-command, \
             $(TESTS_VENV_DIR)/bin/python -m avocado \
             --show=$(AVOCADO_SHOW) run --job-results-dir=$(TESTS_RESULTS_DIR) \
             --filter-by-tags-include-empty --filter-by-tags-include-empty-key \
             $(AVOCADO_TAGS) \
-            $(if $(GITLAB_CI),,--failfast) tests/acceptance, \
-            "AVOCADO", "tests/acceptance")
+            $(if $(GITLAB_CI),,--failfast) tests/system, \
+            "AVOCADO", "tests/system")
 
 # Consolidated targets
 
tests/acceptance/README.rst deleted +0 -10
deleted file mode 100644
index 89260faed6..0000000000
@@ -1,10 +0,0 @@
-============================================
-Acceptance tests using the Avocado Framework
-============================================
-
-This directory contains functional tests, also known as acceptance
-level tests.  They're usually higher level, and may interact with
-external resources and with various guest operating systems.
-
-For more information, please refer to ``docs/devel/testing.rst``,
-section "Acceptance tests using the Avocado Framework".
tests/system/README.rst new file +10 -0
new file mode 100644
index 0000000000..ece14073c5
@@ -0,0 +1,10 @@
+========================================
+System tests using the Avocado Framework
+========================================
+
+This directory contains system tests. They're usually higher level,
+and may interact with external resources and with various guest
+operating systems.
+
+For more information, please refer to ``docs/devel/testing.rst``,
+section "System tests using the Avocado Framework".
tests/system/avocado_qemu/__init__.py renamed from tests/acceptance/avocado_qemu/__init__.py +1 -1
similarity index 99%
rename from tests/acceptance/avocado_qemu/__init__.py
rename to tests/system/avocado_qemu/__init__.py
index 83b1741ec8..c04f9901f3 100644
@@ -31,7 +31,7 @@
 BUILD_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
 
 if os.path.islink(os.path.dirname(os.path.dirname(__file__))):
-    # The link to the acceptance tests dir in the source code directory
+    # The link to the system tests dir in the source code directory
     lnk = os.path.dirname(os.path.dirname(__file__))
     #: The QEMU root source directory
     SOURCE_DIR = os.path.dirname(os.path.dirname(os.readlink(lnk)))
tests/system/boot_linux.py renamed from tests/acceptance/boot_linux.py +0 -0
similarity index 100%
rename from tests/acceptance/boot_linux.py
rename to tests/system/boot_linux.py
tests/system/boot_linux_console.py renamed from tests/acceptance/boot_linux_console.py +0 -0
similarity index 100%
rename from tests/acceptance/boot_linux_console.py
rename to tests/system/boot_linux_console.py
tests/system/boot_xen.py renamed from tests/acceptance/boot_xen.py +0 -0
similarity index 100%
rename from tests/acceptance/boot_xen.py
rename to tests/system/boot_xen.py
tests/system/cpu_queries.py renamed from tests/acceptance/cpu_queries.py +0 -0
similarity index 100%
rename from tests/acceptance/cpu_queries.py
rename to tests/system/cpu_queries.py
tests/system/empty_cpu_model.py renamed from tests/acceptance/empty_cpu_model.py +0 -0
similarity index 100%
rename from tests/acceptance/empty_cpu_model.py
rename to tests/system/empty_cpu_model.py
tests/system/linux_initrd.py renamed from tests/acceptance/linux_initrd.py +1 -1
similarity index 99%
rename from tests/acceptance/linux_initrd.py
rename to tests/system/linux_initrd.py
index a249e2f14a..351ca4959d 100644
@@ -1,4 +1,4 @@
-# Linux initrd acceptance test.
+# Linux initrd system test.
 #
 # Copyright (c) 2018 Red Hat, Inc.
 #
tests/system/linux_ssh_mips_malta.py renamed from tests/acceptance/linux_ssh_mips_malta.py +0 -0
similarity index 100%
rename from tests/acceptance/linux_ssh_mips_malta.py
rename to tests/system/linux_ssh_mips_malta.py
tests/system/machine_arm_canona1100.py renamed from tests/acceptance/machine_arm_canona1100.py +0 -0
similarity index 100%
rename from tests/acceptance/machine_arm_canona1100.py
rename to tests/system/machine_arm_canona1100.py
tests/system/machine_arm_integratorcp.py renamed from tests/acceptance/machine_arm_integratorcp.py +0 -0
similarity index 100%
rename from tests/acceptance/machine_arm_integratorcp.py
rename to tests/system/machine_arm_integratorcp.py
tests/system/machine_arm_n8x0.py renamed from tests/acceptance/machine_arm_n8x0.py +0 -0
similarity index 100%
rename from tests/acceptance/machine_arm_n8x0.py
rename to tests/system/machine_arm_n8x0.py
tests/system/machine_avr6.py renamed from tests/acceptance/machine_avr6.py +1 -1
similarity index 98%
rename from tests/acceptance/machine_avr6.py
rename to tests/system/machine_avr6.py
index 6baf4e9c7f..acc5608776 100644
@@ -1,5 +1,5 @@
 #
-# QEMU AVR acceptance tests
+# QEMU AVR system tests
 #
 # Copyright (c) 2019-2020 Michael Rolnik <[email protected]>
 #
tests/system/machine_m68k_nextcube.py renamed from tests/acceptance/machine_m68k_nextcube.py +0 -0
similarity index 100%
rename from tests/acceptance/machine_m68k_nextcube.py
rename to tests/system/machine_m68k_nextcube.py
tests/system/machine_microblaze.py renamed from tests/acceptance/machine_microblaze.py +0 -0
similarity index 100%
rename from tests/acceptance/machine_microblaze.py
rename to tests/system/machine_microblaze.py
tests/system/machine_mips_loongson3v.py renamed from tests/acceptance/machine_mips_loongson3v.py +0 -0
similarity index 100%
rename from tests/acceptance/machine_mips_loongson3v.py
rename to tests/system/machine_mips_loongson3v.py
tests/system/machine_mips_malta.py renamed from tests/acceptance/machine_mips_malta.py +0 -0
similarity index 100%
rename from tests/acceptance/machine_mips_malta.py
rename to tests/system/machine_mips_malta.py
tests/system/machine_ppc.py renamed from tests/acceptance/machine_ppc.py +0 -0
similarity index 100%
rename from tests/acceptance/machine_ppc.py
rename to tests/system/machine_ppc.py
tests/system/machine_rx_gdbsim.py renamed from tests/acceptance/machine_rx_gdbsim.py +0 -0
similarity index 100%
rename from tests/acceptance/machine_rx_gdbsim.py
rename to tests/system/machine_rx_gdbsim.py
tests/system/machine_s390_ccw_virtio.py renamed from tests/acceptance/machine_s390_ccw_virtio.py +0 -0
similarity index 100%
rename from tests/acceptance/machine_s390_ccw_virtio.py
rename to tests/system/machine_s390_ccw_virtio.py
tests/system/machine_sparc64_sun4u.py renamed from tests/acceptance/machine_sparc64_sun4u.py +0 -0
similarity index 100%
rename from tests/acceptance/machine_sparc64_sun4u.py
rename to tests/system/machine_sparc64_sun4u.py
tests/system/machine_sparc_leon3.py renamed from tests/acceptance/machine_sparc_leon3.py +0 -0
similarity index 100%
rename from tests/acceptance/machine_sparc_leon3.py
rename to tests/system/machine_sparc_leon3.py
tests/system/migration.py renamed from tests/acceptance/migration.py +0 -0
similarity index 100%
rename from tests/acceptance/migration.py
rename to tests/system/migration.py
tests/system/multiprocess.py renamed from tests/acceptance/multiprocess.py +0 -0
similarity index 100%
rename from tests/acceptance/multiprocess.py
rename to tests/system/multiprocess.py
tests/system/pc_cpu_hotplug_props.py renamed from tests/acceptance/pc_cpu_hotplug_props.py +0 -0
similarity index 100%
rename from tests/acceptance/pc_cpu_hotplug_props.py
rename to tests/system/pc_cpu_hotplug_props.py
tests/system/ppc_prep_40p.py renamed from tests/acceptance/ppc_prep_40p.py +0 -0
similarity index 100%
rename from tests/acceptance/ppc_prep_40p.py
rename to tests/system/ppc_prep_40p.py
tests/system/replay_kernel.py renamed from tests/acceptance/replay_kernel.py +0 -0
similarity index 100%
rename from tests/acceptance/replay_kernel.py
rename to tests/system/replay_kernel.py
tests/system/reverse_debugging.py renamed from tests/acceptance/reverse_debugging.py +0 -0
similarity index 100%
rename from tests/acceptance/reverse_debugging.py
rename to tests/system/reverse_debugging.py
tests/system/tcg_plugins.py renamed from tests/acceptance/tcg_plugins.py +0 -0
similarity index 100%
rename from tests/acceptance/tcg_plugins.py
rename to tests/system/tcg_plugins.py
tests/system/tesseract_utils.py renamed from tests/acceptance/tesseract_utils.py +0 -0
similarity index 100%
rename from tests/acceptance/tesseract_utils.py
rename to tests/system/tesseract_utils.py
tests/system/version.py renamed from tests/acceptance/version.py +0 -0
similarity index 100%
rename from tests/acceptance/version.py
rename to tests/system/version.py
tests/system/virtio-gpu.py renamed from tests/acceptance/virtio-gpu.py +0 -0
similarity index 100%
rename from tests/acceptance/virtio-gpu.py
rename to tests/system/virtio-gpu.py
tests/system/virtio_check_params.py renamed from tests/acceptance/virtio_check_params.py +0 -0
similarity index 100%
rename from tests/acceptance/virtio_check_params.py
rename to tests/system/virtio_check_params.py
tests/system/virtio_version.py renamed from tests/acceptance/virtio_version.py +0 -0
similarity index 100%
rename from tests/acceptance/virtio_version.py
rename to tests/system/virtio_version.py
tests/system/virtiofs_submounts.py renamed from tests/acceptance/virtiofs_submounts.py +0 -0
similarity index 100%
rename from tests/acceptance/virtiofs_submounts.py
rename to tests/system/virtiofs_submounts.py
tests/system/virtiofs_submounts.py.data/cleanup.sh renamed from tests/acceptance/virtiofs_submounts.py.data/cleanup.sh +0 -0
similarity index 100%
rename from tests/acceptance/virtiofs_submounts.py.data/cleanup.sh
rename to tests/system/virtiofs_submounts.py.data/cleanup.sh
tests/system/virtiofs_submounts.py.data/guest-cleanup.sh renamed from tests/acceptance/virtiofs_submounts.py.data/guest-cleanup.sh +0 -0
similarity index 100%
rename from tests/acceptance/virtiofs_submounts.py.data/guest-cleanup.sh
rename to tests/system/virtiofs_submounts.py.data/guest-cleanup.sh
tests/system/virtiofs_submounts.py.data/guest.sh renamed from tests/acceptance/virtiofs_submounts.py.data/guest.sh +0 -0
similarity index 100%
rename from tests/acceptance/virtiofs_submounts.py.data/guest.sh
rename to tests/system/virtiofs_submounts.py.data/guest.sh
tests/system/virtiofs_submounts.py.data/host.sh renamed from tests/acceptance/virtiofs_submounts.py.data/host.sh +0 -0
similarity index 100%
rename from tests/acceptance/virtiofs_submounts.py.data/host.sh
rename to tests/system/virtiofs_submounts.py.data/host.sh
tests/system/vnc.py renamed from tests/acceptance/vnc.py +0 -0
similarity index 100%
rename from tests/acceptance/vnc.py
rename to tests/system/vnc.py
tests/system/x86_cpu_model_versions.py renamed from tests/acceptance/x86_cpu_model_versions.py +0 -0
similarity index 100%
rename from tests/acceptance/x86_cpu_model_versions.py
rename to tests/system/x86_cpu_model_versions.py
Signature · 1 line
2.31.1
#2 lore raw
Quoted 47 lines · Willian Rampazzo

Conceptually speaking, acceptance tests "are a series of specific tests conducted by the customer in an attempt to uncover product errors before accepting the software from the developer. Conducted by the end-user rather than software engineers, acceptance testing can range from an informal “test drive” to a planned and systematically executed series of scripted tests" [1]. Every time Pressman refers to the term "acceptance testing," he also refers to user's agreement in the final state of an implemented feature. Today, QEMU is not implementing user acceptance tests as described by Pressman.

There are other three possible terms we could use to describe what is currently QEMU "acceptance" tests:

1 - Integration tests:
- "Integration testing is a systematic technique for constructing the software architecture while at the same time conducting tests to uncover errors associated with interfacing. The objective is to take unit-tested components and build a program structure that has been dictated by design." [2]
* Note: Sommerville does not have a clear definition of integration testing. He refers to incremental integration of components inside the system testing (see [3]).

2 - Validation tests:
- "Validation testing begins at the culmination of integration testing, when individual components have been exercised, the software is completely assembled as a package, and interfacing errors have been uncovered and corrected. At the validation or system level, the distinction between different software categories disappears. Testing focuses on user-visible actions and user-recognizable output from the system." [4]
- "where you expect the system to perform correctly using a set of test cases that reflect the system’s expected use." [5]
* Note: the definition of "validation testing" from Sommerville reflects the same definition found around the Internet, as one of the processes inside the "Verification & Validation (V&V)." In this concept, validation testing is a high-level definition that covers unit testing, functional testing, integration testing, system testing, and acceptance testing.

3 - System tests:
- "verifies that all elements mesh properly and that overall system function and performance is achieved." [6]
- "involves integrating components to create a version of the system and then testing the integrated system. System testing checks that components are compatible, interact correctly, and transfer the right data at the right time across their interfaces." [7]

Quoted 4 lines

The tests implemented inside the QEMU "acceptance" directory depend on the software completely assembled and, sometimes, on other elements, like operating system images. In this case, the proposal here is to rename the current "acceptance" directory to "system."

Are user-mode tests using Avocado also system tests?
https://www.mail-archive.com/[email protected]/msg782505.html

Quoted 20 lines

[1] Pressman, Roger S. & Maxim, Bruce R. (2020). Software Engineering, A Practitioner’s Approach. p. 430.
[2] Pressman, Roger S. & Maxim, Bruce R. (2020). Software Engineering, A Practitioner’s Approach. Software Engineering, p. 398.
[3] Sommerville, Ian (2016). Software Engineering. p. 240-242.
[4] Pressman, Roger S. & Maxim, Bruce R. (2020). Software Engineering, A Practitioner’s Approach. Software Engineering, p. 407.
[5] Sommerville, Ian (2016). Software Engineering. p. 227.
[6] Pressman, Roger S. & Maxim, Bruce R. (2020). Software Engineering, A Practitioner’s Approach. Software Engineering, p. 377.
[7] Sommerville, Ian (2016). Software Engineering. p. 240.

---

.gitlab-ci.yml +0 -0
index f718b61fa7..c5de3c9fd5 100644

.gitlab-ci.yml include: · line 55

Quoted 5 lines
.gitlab-ci.yml +1 -1
@@ -52,7 +52,7 @@ include:
     # Avoid recompiling by hiding ninja with NINJA=":"
     - make NINJA=":" $MAKE_CHECK_ARGS
 
-.acceptance_template: &acceptance_definition
+.system_template: &system_definition

.system_test_template: &system_test_definition ?

Quoted 10 lines
tests/Makefile.include +1 -1
index 8f220e15d1..c580292bb5 100644
@@ -16,7 +16,7 @@ ifneq ($(filter $(all-check-targets), check-softfloat),)
 	@echo " $(MAKE) check-tcg            Run TCG tests"
 	@echo " $(MAKE) check-softfloat      Run FPU emulation tests"
 endif
-	@echo " $(MAKE) check-acceptance     Run all acceptance (functional) tests"
+	@echo " $(MAKE) check-system         Run all system tests"
#3 lore raw
Quoted 13 lines · Philippe Mathieu-Daudé
Quoted 12 lines · Willian Rampazzo

Conceptually speaking, acceptance tests "are a series of specific tests conducted by the customer in an attempt to uncover product errors before accepting the software from the developer. Conducted by the end-user rather than software engineers, acceptance testing can range from an informal “test drive” to a planned and systematically executed series of scripted tests" [1]. Every time Pressman refers to the term "acceptance testing," he also refers to user's agreement in the final state of an implemented feature. Today, QEMU is not implementing user acceptance tests as described by Pressman.

There are other three possible terms we could use to describe what is currently QEMU "acceptance" tests:

Quoted 9 lines
Quoted 9 lines

1 - Integration tests:
- "Integration testing is a systematic technique for constructing the software architecture while at the same time conducting tests to uncover errors associated with interfacing. The objective is to take unit-tested components and build a program structure that has been dictated by design." [2]
* Note: Sommerville does not have a clear definition of integration testing. He refers to incremental integration of components inside the system testing (see [3]).

After thinking about this for a while, I agree with you that renaming the "acceptance" tests to "integration" tests is also not a good idea. When I hear "integration" test in the context of the virt stack, I'd rather expect a test suite that picks KVM (i.e. a kernel), QEMU, libvirt and maybe virt-manager on top and tests them all together. So we should look for a different name indeed.

Quoted 25 lines
Quoted 25 lines

2 - Validation tests:
- "Validation testing begins at the culmination of integration testing, when individual components have been exercised, the software is completely assembled as a package, and interfacing errors have been uncovered and corrected. At the validation or system level, the distinction between different software categories disappears. Testing focuses on user-visible actions and user-recognizable output from the system." [4]
- "where you expect the system to perform correctly using a set of test cases that reflect the system’s expected use." [5]
* Note: the definition of "validation testing" from Sommerville reflects the same definition found around the Internet, as one of the processes inside the "Verification & Validation (V&V)." In this concept, validation testing is a high-level definition that covers unit testing, functional testing, integration testing, system testing, and acceptance testing.

3 - System tests:
- "verifies that all elements mesh properly and that overall system function and performance is achieved." [6]
- "involves integrating components to create a version of the system and then testing the integrated system. System testing checks that components are compatible, interact correctly, and transfer the right data at the right time across their interfaces." [7]

Quoted 7 lines
Quoted 4 lines

The tests implemented inside the QEMU "acceptance" directory depend on the software completely assembled and, sometimes, on other elements, like operating system images. In this case, the proposal here is to rename the current "acceptance" directory to "system."

Are user-mode tests using Avocado also system tests?
https://www.mail-archive.com/[email protected]/msg782505.html

We've indeed got the problem that the word "system" is a little bit overloaded in the context of QEMU. We often talk about "system" when referring to the qemu-softmmu-xxx emulators (in contrast to the linux-user emulator binaries). For example, the "--disable-system" switch of the configure script, or the "build-system" and "check-system" jobs in the .gitlab-ci.yml file ... thus this could get quite confusing in the .gitlab-ci.yml file afterwards.

So I think renaming "acceptance" to "system" is especially ok if we only keep the "softmmu"-related tests in that folder... would it maybe make sense to add the linux-user related tests in a separate folder called tests/user/ instead, Philippe? And we should likely rename the current build-system and check-system jobs in our gitlab-CI to build-softmmu and check-softmmu or so?

Alternatively, what about renaming the "acceptance" tests to "validation" instead? That word does not have a duplicated definition in the context of QEMU yet, so I think it would be less confusing.

Thomas

#4 lore raw
Quoted 65 lines · Thomas Huth
Quoted 13 lines · Philippe Mathieu-Daudé
Quoted 12 lines · Willian Rampazzo

Conceptually speaking, acceptance tests "are a series of specific tests conducted by the customer in an attempt to uncover product errors before accepting the software from the developer. Conducted by the end-user rather than software engineers, acceptance testing can range from an informal “test drive” to a planned and systematically executed series of scripted tests" [1]. Every time Pressman refers to the term "acceptance testing," he also refers to user's agreement in the final state of an implemented feature. Today, QEMU is not implementing user acceptance tests as described by Pressman.

There are other three possible terms we could use to describe what is currently QEMU "acceptance" tests:

Quoted 9 lines
Quoted 9 lines

1 - Integration tests:
- "Integration testing is a systematic technique for constructing the software architecture while at the same time conducting tests to uncover errors associated with interfacing. The objective is to take unit-tested components and build a program structure that has been dictated by design." [2]
* Note: Sommerville does not have a clear definition of integration testing. He refers to incremental integration of components inside the system testing (see [3]).

After thinking about this for a while, I agree with you that renaming the "acceptance" tests to "integration" tests is also not a good idea. When I hear "integration" test in the context of the virt stack, I'd rather expect a test suite that picks KVM (i.e. a kernel), QEMU, libvirt and maybe virt-manager on top and tests them all together. So we should look for a different name indeed.

Quoted 25 lines
Quoted 25 lines

2 - Validation tests:
- "Validation testing begins at the culmination of integration testing, when individual components have been exercised, the software is completely assembled as a package, and interfacing errors have been uncovered and corrected. At the validation or system level, the distinction between different software categories disappears. Testing focuses on user-visible actions and user-recognizable output from the system." [4]
- "where you expect the system to perform correctly using a set of test cases that reflect the system’s expected use." [5]
* Note: the definition of "validation testing" from Sommerville reflects the same definition found around the Internet, as one of the processes inside the "Verification & Validation (V&V)." In this concept, validation testing is a high-level definition that covers unit testing, functional testing, integration testing, system testing, and acceptance testing.

3 - System tests:
- "verifies that all elements mesh properly and that overall system function and performance is achieved." [6]
- "involves integrating components to create a version of the system and then testing the integrated system. System testing checks that components are compatible, interact correctly, and transfer the right data at the right time across their interfaces." [7]

Quoted 7 lines
Quoted 4 lines

The tests implemented inside the QEMU "acceptance" directory depend on the software completely assembled and, sometimes, on other elements, like operating system images. In this case, the proposal here is to rename the current "acceptance" directory to "system."

Are user-mode tests using Avocado also system tests?
https://www.mail-archive.com/[email protected]/msg782505.html

Quoted 7 lines

We've indeed got the problem that the word "system" is a little bit overloaded in the context of QEMU. We often talk about "system" when referring to the qemu-softmmu-xxx emulators (in contrast to the linux-user emulator binaries). For example, the "--disable-system" switch of the configure script, or the "build-system" and "check-system" jobs in the .gitlab-ci.yml file ... thus this could get quite confusing in the .gitlab-ci.yml file afterwards.

I agree with you here. After I made the changes to the code, I noticed QEMU has the "system" word spread all over the place. That may confuse people looking at the "system tests" without much interaction with software testing terminology.

Quoted 7 lines

So I think renaming "acceptance" to "system" is especially ok if we only keep the "softmmu"-related tests in that folder... would it maybe make sense to add the linux-user related tests in a separate folder called tests/user/ instead, Philippe? And we should likely rename the current build-system and check-system jobs in our gitlab-CI to build-softmmu and check-softmmu or so?

As I mentioned in Philippe's reply, those tests are still considered system tests because system testing is the software built and interacting with external test artifacts in software engineering.

Quoted 3 lines

Alternatively, what about renaming the "acceptance" tests to "validation" instead? That word does not have a duplicated definition in the context of QEMU yet, so I think it would be less confusing.

While at the beginning of your reply, I started thinking if "validation" would cause less confusion for the QEMU project. Although validation testing is a broader concept inside the Verification & Validation process, encompassing unit testing, functional testing, integration testing, system testing, and acceptance testing, it may be an option for the QEMU project.

While system testing would be the correct terminology to use, if it causes more confusion, using a less strict terminology, like validation testing, is valid, in my opinion.

Quoted 3 lines

Thomas

#5 lore raw
Quoted 102 lines · Willian Rampazzo
Quoted 65 lines · Thomas Huth
Quoted 13 lines · Philippe Mathieu-Daudé
Quoted 12 lines · Willian Rampazzo

Conceptually speaking, acceptance tests "are a series of specific tests conducted by the customer in an attempt to uncover product errors before accepting the software from the developer. Conducted by the end-user rather than software engineers, acceptance testing can range from an informal “test drive” to a planned and systematically executed series of scripted tests" [1]. Every time Pressman refers to the term "acceptance testing," he also refers to user's agreement in the final state of an implemented feature. Today, QEMU is not implementing user acceptance tests as described by Pressman.

There are other three possible terms we could use to describe what is currently QEMU "acceptance" tests:

Quoted 9 lines
Quoted 9 lines

1 - Integration tests:
- "Integration testing is a systematic technique for constructing the software architecture while at the same time conducting tests to uncover errors associated with interfacing. The objective is to take unit-tested components and build a program structure that has been dictated by design." [2]
* Note: Sommerville does not have a clear definition of integration testing. He refers to incremental integration of components inside the system testing (see [3]).

After thinking about this for a while, I agree with you that renaming the "acceptance" tests to "integration" tests is also not a good idea. When I hear "integration" test in the context of the virt stack, I'd rather expect a test suite that picks KVM (i.e. a kernel), QEMU, libvirt and maybe virt-manager on top and tests them all together. So we should look for a different name indeed.

Quoted 25 lines
Quoted 25 lines

2 - Validation tests:
- "Validation testing begins at the culmination of integration testing, when individual components have been exercised, the software is completely assembled as a package, and interfacing errors have been uncovered and corrected. At the validation or system level, the distinction between different software categories disappears. Testing focuses on user-visible actions and user-recognizable output from the system." [4]
- "where you expect the system to perform correctly using a set of test cases that reflect the system’s expected use." [5]
* Note: the definition of "validation testing" from Sommerville reflects the same definition found around the Internet, as one of the processes inside the "Verification & Validation (V&V)." In this concept, validation testing is a high-level definition that covers unit testing, functional testing, integration testing, system testing, and acceptance testing.

3 - System tests:
- "verifies that all elements mesh properly and that overall system function and performance is achieved." [6]
- "involves integrating components to create a version of the system and then testing the integrated system. System testing checks that components are compatible, interact correctly, and transfer the right data at the right time across their interfaces." [7]

Quoted 7 lines
Quoted 4 lines

The tests implemented inside the QEMU "acceptance" directory depend on the software completely assembled and, sometimes, on other elements, like operating system images. In this case, the proposal here is to rename the current "acceptance" directory to "system."

Are user-mode tests using Avocado also system tests?
https://www.mail-archive.com/[email protected]/msg782505.html

Quoted 7 lines

We've indeed got the problem that the word "system" is a little bit overloaded in the context of QEMU. We often talk about "system" when referring to the qemu-softmmu-xxx emulators (in contrast to the linux-user emulator binaries). For example, the "--disable-system" switch of the configure script, or the "build-system" and "check-system" jobs in the .gitlab-ci.yml file ... thus this could get quite confusing in the .gitlab-ci.yml file afterwards.

I agree with you here. After I made the changes to the code, I noticed QEMU has the "system" word spread all over the place. That may confuse people looking at the "system tests" without much interaction with software testing terminology.

Quoted 7 lines

So I think renaming "acceptance" to "system" is especially ok if we only keep the "softmmu"-related tests in that folder... would it maybe make sense to add the linux-user related tests in a separate folder called tests/user/ instead, Philippe? And we should likely rename the current build-system and check-system jobs in our gitlab-CI to build-softmmu and check-softmmu or so?

As I mentioned in Philippe's reply, those tests are still considered system tests because system testing is the software built and interacting with external test artifacts in software engineering.

Quoted 3 lines

Alternatively, what about renaming the "acceptance" tests to "validation" instead? That word does not have a duplicated definition in the context of QEMU yet, so I think it would be less confusing.

While at the beginning of your reply, I started thinking if "validation" would cause less confusion for the QEMU project. Although validation testing is a broader concept inside the Verification & Validation process, encompassing unit testing, functional testing, integration testing, system testing, and acceptance testing, it may be an option for the QEMU project.

Quoted 3 lines

While system testing would be the correct terminology to use, if it causes more confusion, using a less strict terminology, like validation testing, is valid, in my opinion.

This works for me:

- tests/system/softmmu
- tests/system/user

Or validation, as you prefer.

Thanks for sharing the background references,

Phil.

#6 lore raw
Quoted 107 lines · Philippe Mathieu-Daudé
Quoted 102 lines · Willian Rampazzo
Quoted 65 lines · Thomas Huth
Quoted 13 lines · Philippe Mathieu-Daudé
Quoted 12 lines · Willian Rampazzo

Conceptually speaking, acceptance tests "are a series of specific tests conducted by the customer in an attempt to uncover product errors before accepting the software from the developer. Conducted by the end-user rather than software engineers, acceptance testing can range from an informal “test drive” to a planned and systematically executed series of scripted tests" [1]. Every time Pressman refers to the term "acceptance testing," he also refers to user's agreement in the final state of an implemented feature. Today, QEMU is not implementing user acceptance tests as described by Pressman.

There are other three possible terms we could use to describe what is currently QEMU "acceptance" tests:

Quoted 9 lines
Quoted 9 lines

1 - Integration tests:
- "Integration testing is a systematic technique for constructing the software architecture while at the same time conducting tests to uncover errors associated with interfacing. The objective is to take unit-tested components and build a program structure that has been dictated by design." [2]
* Note: Sommerville does not have a clear definition of integration testing. He refers to incremental integration of components inside the system testing (see [3]).

After thinking about this for a while, I agree with you that renaming the "acceptance" tests to "integration" tests is also not a good idea. When I hear "integration" test in the context of the virt stack, I'd rather expect a test suite that picks KVM (i.e. a kernel), QEMU, libvirt and maybe virt-manager on top and tests them all together. So we should look for a different name indeed.

Quoted 25 lines
Quoted 25 lines

2 - Validation tests:
- "Validation testing begins at the culmination of integration testing, when individual components have been exercised, the software is completely assembled as a package, and interfacing errors have been uncovered and corrected. At the validation or system level, the distinction between different software categories disappears. Testing focuses on user-visible actions and user-recognizable output from the system." [4]
- "where you expect the system to perform correctly using a set of test cases that reflect the system’s expected use." [5]
* Note: the definition of "validation testing" from Sommerville reflects the same definition found around the Internet, as one of the processes inside the "Verification & Validation (V&V)." In this concept, validation testing is a high-level definition that covers unit testing, functional testing, integration testing, system testing, and acceptance testing.

3 - System tests:
- "verifies that all elements mesh properly and that overall system function and performance is achieved." [6]
- "involves integrating components to create a version of the system and then testing the integrated system. System testing checks that components are compatible, interact correctly, and transfer the right data at the right time across their interfaces." [7]

Quoted 7 lines
Quoted 4 lines

The tests implemented inside the QEMU "acceptance" directory depend on the software completely assembled and, sometimes, on other elements, like operating system images. In this case, the proposal here is to rename the current "acceptance" directory to "system."

Are user-mode tests using Avocado also system tests?
https://www.mail-archive.com/[email protected]/msg782505.html

Quoted 7 lines

We've indeed got the problem that the word "system" is a little bit overloaded in the context of QEMU. We often talk about "system" when referring to the qemu-softmmu-xxx emulators (in contrast to the linux-user emulator binaries). For example, the "--disable-system" switch of the configure script, or the "build-system" and "check-system" jobs in the .gitlab-ci.yml file ... thus this could get quite confusing in the .gitlab-ci.yml file afterwards.

I agree with you here. After I made the changes to the code, I noticed QEMU has the "system" word spread all over the place. That may confuse people looking at the "system tests" without much interaction with software testing terminology.

Quoted 7 lines

So I think renaming "acceptance" to "system" is especially ok if we only keep the "softmmu"-related tests in that folder... would it maybe make sense to add the linux-user related tests in a separate folder called tests/user/ instead, Philippe? And we should likely rename the current build-system and check-system jobs in our gitlab-CI to build-softmmu and check-softmmu or so?

As I mentioned in Philippe's reply, those tests are still considered system tests because system testing is the software built and interacting with external test artifacts in software engineering.

Quoted 3 lines

Alternatively, what about renaming the "acceptance" tests to "validation" instead? That word does not have a duplicated definition in the context of QEMU yet, so I think it would be less confusing.

While at the beginning of your reply, I started thinking if "validation" would cause less confusion for the QEMU project. Although validation testing is a broader concept inside the Verification & Validation process, encompassing unit testing, functional testing, integration testing, system testing, and acceptance testing, it may be an option for the QEMU project.

Quoted 3 lines

While system testing would be the correct terminology to use, if it causes more confusion, using a less strict terminology, like validation testing, is valid, in my opinion.

Quoted 6 lines

This works for me:

- tests/system/softmmu
- tests/system/user

Or validation, as you prefer.

So what are tests/tcg if not user tests? They *mostly* test linux-user emulation but of course we have softmmu tests in there as well.

Quoted 4 lines

Thanks for sharing the background references,

Phil.

Signature · 1 line
Alex Bennée
#7 lore raw
Quoted 110 lines · Alex Bennée
Quoted 109 lines · Philippe Mathieu-Daudé
Quoted 102 lines · Willian Rampazzo
Quoted 65 lines · Thomas Huth
Quoted 13 lines · Philippe Mathieu-Daudé
Quoted 12 lines · Willian Rampazzo

Conceptually speaking, acceptance tests "are a series of specific tests conducted by the customer in an attempt to uncover product errors before accepting the software from the developer. Conducted by the end-user rather than software engineers, acceptance testing can range from an informal “test drive” to a planned and systematically executed series of scripted tests" [1]. Every time Pressman refers to the term "acceptance testing," he also refers to user's agreement in the final state of an implemented feature. Today, QEMU is not implementing user acceptance tests as described by Pressman.

There are other three possible terms we could use to describe what is currently QEMU "acceptance" tests:

Quoted 9 lines
Quoted 9 lines

1 - Integration tests:
- "Integration testing is a systematic technique for constructing the software architecture while at the same time conducting tests to uncover errors associated with interfacing. The objective is to take unit-tested components and build a program structure that has been dictated by design." [2]
* Note: Sommerville does not have a clear definition of integration testing. He refers to incremental integration of components inside the system testing (see [3]).

After thinking about this for a while, I agree with you that renaming the "acceptance" tests to "integration" tests is also not a good idea. When I hear "integration" test in the context of the virt stack, I'd rather expect a test suite that picks KVM (i.e. a kernel), QEMU, libvirt and maybe virt-manager on top and tests them all together. So we should look for a different name indeed.

Quoted 25 lines
Quoted 25 lines

2 - Validation tests:
- "Validation testing begins at the culmination of integration testing, when individual components have been exercised, the software is completely assembled as a package, and interfacing errors have been uncovered and corrected. At the validation or system level, the distinction between different software categories disappears. Testing focuses on user-visible actions and user-recognizable output from the system." [4]
- "where you expect the system to perform correctly using a set of test cases that reflect the system’s expected use." [5]
* Note: the definition of "validation testing" from Sommerville reflects the same definition found around the Internet, as one of the processes inside the "Verification & Validation (V&V)." In this concept, validation testing is a high-level definition that covers unit testing, functional testing, integration testing, system testing, and acceptance testing.

3 - System tests:
- "verifies that all elements mesh properly and that overall system function and performance is achieved." [6]
- "involves integrating components to create a version of the system and then testing the integrated system. System testing checks that components are compatible, interact correctly, and transfer the right data at the right time across their interfaces." [7]

Quoted 7 lines
Quoted 4 lines

The tests implemented inside the QEMU "acceptance" directory depend on the software completely assembled and, sometimes, on other elements, like operating system images. In this case, the proposal here is to rename the current "acceptance" directory to "system."

Are user-mode tests using Avocado also system tests?
https://www.mail-archive.com/[email protected]/msg782505.html

Quoted 7 lines

We've indeed got the problem that the word "system" is a little bit overloaded in the context of QEMU. We often talk about "system" when referring to the qemu-softmmu-xxx emulators (in contrast to the linux-user emulator binaries). For example, the "--disable-system" switch of the configure script, or the "build-system" and "check-system" jobs in the .gitlab-ci.yml file ... thus this could get quite confusing in the .gitlab-ci.yml file afterwards.

I agree with you here. After I made the changes to the code, I noticed QEMU has the "system" word spread all over the place. That may confuse people looking at the "system tests" without much interaction with software testing terminology.

Quoted 7 lines

So I think renaming "acceptance" to "system" is especially ok if we only keep the "softmmu"-related tests in that folder... would it maybe make sense to add the linux-user related tests in a separate folder called tests/user/ instead, Philippe? And we should likely rename the current build-system and check-system jobs in our gitlab-CI to build-softmmu and check-softmmu or so?

As I mentioned in Philippe's reply, those tests are still considered system tests because system testing is the software built and interacting with external test artifacts in software engineering.

Quoted 3 lines

Alternatively, what about renaming the "acceptance" tests to "validation" instead? That word does not have a duplicated definition in the context of QEMU yet, so I think it would be less confusing.

While at the beginning of your reply, I started thinking if "validation" would cause less confusion for the QEMU project. Although validation testing is a broader concept inside the Verification & Validation process, encompassing unit testing, functional testing, integration testing, system testing, and acceptance testing, it may be an option for the QEMU project.

Quoted 3 lines

While system testing would be the correct terminology to use, if it causes more confusion, using a less strict terminology, like validation testing, is valid, in my opinion.

This works for me:

Quoted 8 lines
Quoted 4 lines

- tests/system/softmmu
- tests/system/user

Or validation, as you prefer.

So what are tests/tcg if not user tests? They *mostly* test linux-user emulation but of course we have softmmu tests in there as well.

I expect a tests/tcg/ to check a specific TCG feature, which doesn't have to be user-mode specific (IIRC Xtensa does some sysemu checks). Also, you control the compiler toolchain, flags, etc... so you can adapt for a specific feature bit to test, use kludges and so on.

I expect tests in tests/system/ (user/softmmu) to user real-world binaries, which we aren't modifying. Sometime non-public/released compiler toolchain has been used.

See for example the test referred tests the bFLT loader (beside testing userland Linux binary for Cortex-M).

Another example is the Sony PlayStation2 binary testing the O32 ABI and multiple opcodes from the TX79 SIMD core:
https://www.mail-archive.com/[email protected]/msg782493.html

Personally I'm not interested in writing a test for a loader or multiple opcodes when we have pre-built binaries. For the opcodes coverage I'd use a TCG plugin to confirm the opcodes have been used.

If you think these tests belong to tests/tcg/, I am OK to put them they, but I don't think adding the Avocado buildsys machinery to the already-complex tests/tcg/ Makefiles is going to help us...

Regards,

Phil.

#8 lore raw
Quoted 4 lines · Philippe Mathieu-Daudé

If you think these tests belong to tests/tcg/, I am OK to put them they, but I don't think adding the Avocado buildsys machinery to the already-complex tests/tcg/ Makefiles is going to help us...

This does raise the question of what we're actually trying to distinguish. It seems to me somewhat that what tests/acceptance/ actually contains that makes it interestingly different from other tests/ stuff is that it's specifically "tests using the Avocado framework". On that theory we might name it tests/avocado/.

Or we could just leave it as it is -- is the current naming actually confusing anybody? :-)

thanks
-- PMM

#9 lore raw
Quoted 7 lines · Peter Maydell
Quoted 4 lines · Philippe Mathieu-Daudé

If you think these tests belong to tests/tcg/, I am OK to put them they, but I don't think adding the Avocado buildsys machinery to the already-complex tests/tcg/ Makefiles is going to help us...

Quoted 8 lines

This does raise the question of what we're actually trying to distinguish. It seems to me somewhat that what tests/acceptance/ actually contains that makes it interestingly different from other tests/ stuff is that it's specifically "tests using the Avocado framework". On that theory we might name it tests/avocado/.

Or we could just leave it as it is -- is the current naming actually confusing anybody? :-)

Conceptually speaking, it isn't very clear because acceptance tests are meant to test features requested by the customer during the requisite phase for a specific software release. The QEMU project does not have a formal requisite phase where features added to one software version are discussed with the customers. In this case, the QEMU acceptance tests are not accepting a use case or requested feature of a release. Eventually, those tests may not be a blocker to a release if some of them fail. Thus, calling them acceptance, may confuse people working with tests.

Quoted 4 lines

thanks
-- PMM

#10 lore raw
In reply to Peter Maydell
Quoted 7 lines · Peter Maydell
Quoted 4 lines · Philippe Mathieu-Daudé

If you think these tests belong to tests/tcg/, I am OK to put them they, but I don't think adding the Avocado buildsys machinery to the already-complex tests/tcg/ Makefiles is going to help us...

Quoted 5 lines

This does raise the question of what we're actually trying to distinguish. It seems to me somewhat that what tests/acceptance/ actually contains that makes it interestingly different from other tests/ stuff is that it's specifically "tests using the Avocado framework". On that theory we might name it tests/avocado/.

I think the updated README.rst from this RFC, inside the system (originally acceptance) folder, is a good description of what these tests should be: "This directory contains system tests. They're usually higher level, and may interact with external resources and with various guest operating systems." I can improve it, if needed.

We are using Avocado Framework as a tool to accomplish the above description, but I don't think we should strictly use it if there is another way to accomplish what those tests are supposed to be. Calling them "avocado" tests may restrict the intent of them, in my opinion.

Quoted 7 lines

Or we could just leave it as it is -- is the current naming actually confusing anybody? :-)

thanks
-- PMM

#11 lore raw
Quoted 13 lines · Willian Rampazzo
Quoted 5 lines · Peter Maydell

This does raise the question of what we're actually trying to distinguish. It seems to me somewhat that what tests/acceptance/ actually contains that makes it interestingly different from other tests/ stuff is that it's specifically "tests using the Avocado framework". On that theory we might name it tests/avocado/.

I think the updated README.rst from this RFC, inside the system (originally acceptance) folder, is a good description of what these tests should be: "This directory contains system tests. They're usually higher level, and may interact with external resources and with various guest operating systems." I can improve it, if needed.

Quoted 4 lines

We are using Avocado Framework as a tool to accomplish the above description, but I don't think we should strictly use it if there is another way to accomplish what those tests are supposed to be. Calling them "avocado" tests may restrict the intent of them, in my opinion.

But the main reason IMHO that we have them in a separate directory is because that's where we have all the avocado machinery. I think the sharing of the machinery is what dictates whether a test winds up in tests/acceptance, tests/qtest, tests/tcg or tests/qemu-iotests much more than whether it is "usually higher level" or more of a unit test or whatever. If we ever added some other test framework for doing system tests, we'd probably want to put it in its own directory rather than lumping all its support machinery and build files in together with the avocado based tests.

thanks
-- PMM

#12 lore raw
Quoted 20 lines · Peter Maydell
Quoted 13 lines · Willian Rampazzo
Quoted 5 lines · Peter Maydell

This does raise the question of what we're actually trying to distinguish. It seems to me somewhat that what tests/acceptance/ actually contains that makes it interestingly different from other tests/ stuff is that it's specifically "tests using the Avocado framework". On that theory we might name it tests/avocado/.

I think the updated README.rst from this RFC, inside the system (originally acceptance) folder, is a good description of what these tests should be: "This directory contains system tests. They're usually higher level, and may interact with external resources and with various guest operating systems." I can improve it, if needed.

Quoted 4 lines

We are using Avocado Framework as a tool to accomplish the above description, but I don't think we should strictly use it if there is another way to accomplish what those tests are supposed to be. Calling them "avocado" tests may restrict the intent of them, in my opinion.

Quoted 9 lines

But the main reason IMHO that we have them in a separate directory is because that's where we have all the avocado machinery. I think the sharing of the machinery is what dictates whether a test winds up in tests/acceptance, tests/qtest, tests/tcg or tests/qemu-iotests much more than whether it is "usually higher level" or more of a unit test or whatever. If we ever added some other test framework for doing system tests, we'd probably want to put it in its own directory rather than lumping all its support machinery and build files in together with the avocado based tests.

Okay, I understand your point. With the organization of tests under the test folder that QEMU has today, I agree with you.

Quoted 4 lines

thanks
-- PMM

#13 lore raw
In reply to Peter Maydell
Quoted 11 lines · Peter Maydell
Quoted 4 lines · Philippe Mathieu-Daudé

If you think these tests belong to tests/tcg/, I am OK to put them they, but I don't think adding the Avocado buildsys machinery to the already-complex tests/tcg/ Makefiles is going to help us...

This does raise the question of what we're actually trying to distinguish. It seems to me somewhat that what tests/acceptance/ actually contains that makes it interestingly different from other tests/ stuff is that it's specifically "tests using the Avocado framework". On that theory we might name it tests/avocado/.

I think there are two aspects:

1) These tests are using the avocado framework

2) These tests are downloading other stuff from the internet (unlike the other tests that we have)

Quoted 2 lines

Or we could just leave it as it is -- is the current naming actually confusing anybody? :-)

Yes, I think "acceptance" is rather confusing. So far they haven't been part of your PR acceptance tests (well, now they are part of the gitlab-CI, though), and it's also not about tests that have been set up by customers, which is what you normally think of when hearing "acceptance tests". So a different name would be adequate.

I think I'd vote for either "avocado", "avoqado" or "validation".

Thomas

#14 lore raw
Quoted 21 lines · Thomas Huth
Quoted 7 lines · Peter Maydell
Quoted 4 lines · Philippe Mathieu-Daudé

If you think these tests belong to tests/tcg/, I am OK to put them they, but I don't think adding the Avocado buildsys machinery to the already-complex tests/tcg/ Makefiles is going to help us...

Quoted 5 lines

This does raise the question of what we're actually trying to distinguish. It seems to me somewhat that what tests/acceptance/ actually contains that makes it interestingly different from other tests/ stuff is that it's specifically "tests using the Avocado framework". On that theory we might name it tests/avocado/.

I think there are two aspects:

1) These tests are using the avocado framework

2) These tests are downloading other stuff from the internet (unlike the other tests that we have)

Quoted 8 lines
Quoted 2 lines

Or we could just leave it as it is -- is the current naming actually confusing anybody? :-)

Yes, I think "acceptance" is rather confusing. So far they haven't been part of your PR acceptance tests (well, now they are part of the gitlab-CI, though), and it's also not about tests that have been set up by customers, which is what you normally think of when hearing "acceptance tests". So a different name would be adequate.

IIUC the current "acceptance tests" are the ones Peter runs, which are *gating* the merge process. They can not fail.

The current tests in tests/acceptance/ use Avocado (as said Thomas, to easily download artifacts) and shouldn't be considered gating; they could fail.

This is my confusion so far. It should be OK to add tests using the Avocado framework which might fail and aren't gating.

#15 lore raw
In reply to Thomas Huth
Quoted 14 lines · Thomas Huth
Quoted 11 lines · Peter Maydell
Quoted 4 lines · Philippe Mathieu-Daudé

If you think these tests belong to tests/tcg/, I am OK to put them they, but I don't think adding the Avocado buildsys machinery to the already-complex tests/tcg/ Makefiles is going to help us...

This does raise the question of what we're actually trying to distinguish. It seems to me somewhat that what tests/acceptance/ actually contains that makes it interestingly different from other tests/ stuff is that it's specifically "tests using the Avocado framework". On that theory we might name it tests/avocado/.

Quoted 7 lines

I think there are two aspects:

1) These tests are using the avocado framework

2) These tests are downloading other stuff from the internet (unlike the other tests that we have)

After Peter's reply, I noticed QEMU does not organize tests under the tests folder by software engineering test category but by the mechanism/machinery the tests run on. This makes me think that we may need to handle the folders name and the CI jobs name differently:

1 - Change the current "test/acceptance" folder name to "test/(avocado or avoqado)." Change the "make check-acceptance" to "make check-validation," and the GitLab CI job names to "validation," meaning that, in a promising future, other tests running on a different framework and acting like validation tests would run in the same make command and same GitLab CI job.

2 - Change the current "test/acceptance" folder name to "test/(avocado or avoqado)." Change the "make check-acceptance" to "make check-(avocado or avoqaco)" and the GitLab CI job names to "(avocado or avoqado)," meaning that, in a promising future, we can categorize validation jobs inside the CI and run each of the different validation tests supported by a framework on its own GitLab CI job.

Personally, I prefer option 2 as it gives more flexibility to decide how to set a GitLab CI job or run it when testing locally.

Quoted 11 lines
Quoted 2 lines

Or we could just leave it as it is -- is the current naming actually confusing anybody? :-)

Yes, I think "acceptance" is rather confusing. So far they haven't been part of your PR acceptance tests (well, now they are part of the gitlab-CI, though), and it's also not about tests that have been set up by customers, which is what you normally think of when hearing "acceptance tests". So a different name would be adequate.

I think I'd vote for either "avocado", "avoqado" or "validation".

Even laughing every time I read "avoqado" (and thanks for that), I liked the idea as there is supplementary code added inside "tests/acceptance/avocado_qemu" to support the tests, meaning they are not "pure" avocado.

Quoted 2 lines

Thomas

#16 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 116 lines · Philippe Mathieu-Daudé
Quoted 115 lines · Alex Bennée
Quoted 113 lines · Philippe Mathieu-Daudé
Quoted 102 lines · Willian Rampazzo
Quoted 65 lines · Thomas Huth
Quoted 13 lines · Philippe Mathieu-Daudé
Quoted 12 lines · Willian Rampazzo

Conceptually speaking, acceptance tests "are a series of specific tests conducted by the customer in an attempt to uncover product errors before accepting the software from the developer. Conducted by the end-user rather than software engineers, acceptance testing can range from an informal “test drive” to a planned and systematically executed series of scripted tests" [1]. Every time Pressman refers to the term "acceptance testing," he also refers to user's agreement in the final state of an implemented feature. Today, QEMU is not implementing user acceptance tests as described by Pressman.

There are other three possible terms we could use to describe what is currently QEMU "acceptance" tests:

Quoted 9 lines
Quoted 9 lines

1 - Integration tests:
- "Integration testing is a systematic technique for constructing the software architecture while at the same time conducting tests to uncover errors associated with interfacing. The objective is to take unit-tested components and build a program structure that has been dictated by design." [2]
* Note: Sommerville does not have a clear definition of integration testing. He refers to incremental integration of components inside the system testing (see [3]).

After thinking about this for a while, I agree with you that renaming the "acceptance" tests to "integration" tests is also not a good idea. When I hear "integration" test in the context of the virt stack, I'd rather expect a test suite that picks KVM (i.e. a kernel), QEMU, libvirt and maybe virt-manager on top and tests them all together. So we should look for a different name indeed.

Quoted 25 lines
Quoted 25 lines

2 - Validation tests:
- "Validation testing begins at the culmination of integration testing, when individual components have been exercised, the software is completely assembled as a package, and interfacing errors have been uncovered and corrected. At the validation or system level, the distinction between different software categories disappears. Testing focuses on user-visible actions and user-recognizable output from the system." [4]
- "where you expect the system to perform correctly using a set of test cases that reflect the system’s expected use." [5]
* Note: the definition of "validation testing" from Sommerville reflects the same definition found around the Internet, as one of the processes inside the "Verification & Validation (V&V)." In this concept, validation testing is a high-level definition that covers unit testing, functional testing, integration testing, system testing, and acceptance testing.

3 - System tests:
- "verifies that all elements mesh properly and that overall system function and performance is achieved." [6]
- "involves integrating components to create a version of the system and then testing the integrated system. System testing checks that components are compatible, interact correctly, and transfer the right data at the right time across their interfaces." [7]

Quoted 7 lines
Quoted 4 lines

The tests implemented inside the QEMU "acceptance" directory depend on the software completely assembled and, sometimes, on other elements, like operating system images. In this case, the proposal here is to rename the current "acceptance" directory to "system."

Are user-mode tests using Avocado also system tests?
https://www.mail-archive.com/[email protected]/msg782505.html

Quoted 7 lines

We've indeed got the problem that the word "system" is a little bit overloaded in the context of QEMU. We often talk about "system" when referring to the qemu-softmmu-xxx emulators (in contrast to the linux-user emulator binaries). For example, the "--disable-system" switch of the configure script, or the "build-system" and "check-system" jobs in the .gitlab-ci.yml file ... thus this could get quite confusing in the .gitlab-ci.yml file afterwards.

I agree with you here. After I made the changes to the code, I noticed QEMU has the "system" word spread all over the place. That may confuse people looking at the "system tests" without much interaction with software testing terminology.

Quoted 7 lines

So I think renaming "acceptance" to "system" is especially ok if we only keep the "softmmu"-related tests in that folder... would it maybe make sense to add the linux-user related tests in a separate folder called tests/user/ instead, Philippe? And we should likely rename the current build-system and check-system jobs in our gitlab-CI to build-softmmu and check-softmmu or so?

As I mentioned in Philippe's reply, those tests are still considered system tests because system testing is the software built and interacting with external test artifacts in software engineering.

Quoted 3 lines

Alternatively, what about renaming the "acceptance" tests to "validation" instead? That word does not have a duplicated definition in the context of QEMU yet, so I think it would be less confusing.

While at the beginning of your reply, I started thinking if "validation" would cause less confusion for the QEMU project. Although validation testing is a broader concept inside the Verification & Validation process, encompassing unit testing, functional testing, integration testing, system testing, and acceptance testing, it may be an option for the QEMU project.

Quoted 3 lines

While system testing would be the correct terminology to use, if it causes more confusion, using a less strict terminology, like validation testing, is valid, in my opinion.

This works for me:

- tests/system/softmmu
- tests/system/user

Or validation, as you prefer.

Quoted 8 lines
Quoted 3 lines

So what are tests/tcg if not user tests? They *mostly* test linux-user emulation but of course we have softmmu tests in there as well.

I expect a tests/tcg/ to check a specific TCG feature, which doesn't have to be user-mode specific (IIRC Xtensa does some sysemu checks). Also, you control the compiler toolchain, flags, etc... so you can adapt for a specific feature bit to test, use kludges and so on.

Well I won't say there are things that couldn't be tested elsewhere. I think the initial record/replay tests are probably replaceable by the acceptance/whatever tests - and possibly the gdbstub tests as well.

Quoted 3 lines

I expect tests in tests/system/ (user/softmmu) to user real-world binaries, which we aren't modifying. Sometime non-public/released compiler toolchain has been used.

LTP binaries?

Quoted 13 lines

See for example the test referred tests the bFLT loader (beside testing userland Linux binary for Cortex-M).

Another example is the Sony PlayStation2 binary testing the O32 ABI and multiple opcodes from the TX79 SIMD core:
https://www.mail-archive.com/[email protected]/msg782493.html

Personally I'm not interested in writing a test for a loader or multiple opcodes when we have pre-built binaries. For the opcodes coverage I'd use a TCG plugin to confirm the opcodes have been used.

Quoted 4 lines

If you think these tests belong to tests/tcg/, I am OK to put them they, but I don't think adding the Avocado buildsys machinery to the already-complex tests/tcg/ Makefiles is going to help us...

No I wasn't advocating that - it was more a comment on the naming of things. -ETOOMUCHFRIDAYBIKESHEDDING...

Quoted 4 lines

Regards,

Phil.

Signature · 1 line
Alex Bennée
#17 lore raw
In reply to Willian Rampazzo
Quoted 1 line · Willian Rampazzo

On Fri, May 21, 2021 at 4:16 AM Thomas Huth <[email protected]> wrote:

[...]

Quoted 11 lines
Quoted 3 lines

Alternatively, what about renaming the "acceptance" tests to "validation" instead? That word does not have a duplicated definition in the context of QEMU yet, so I think it would be less confusing.

While at the beginning of your reply, I started thinking if "validation" would cause less confusion for the QEMU project. Although validation testing is a broader concept inside the Verification & Validation process, encompassing unit testing, functional testing, integration testing, system testing, and acceptance testing, it may be an option for the QEMU project.

Quoted 3 lines

While system testing would be the correct terminology to use, if it causes more confusion, using a less strict terminology, like validation testing, is valid, in my opinion.

<semi-homorous-friday-bikeshedding>
Or we could come up with a new, artificial name instead (like "qtests"). It certainly need a "q" in the name. For example what about:

- avoqado
- valiqation
- aqueptance
- inteqration

?
</semi-homorous-friday-bikeshedding>

Thomas

#18 lore raw
Quoted 20 lines · Thomas Huth
Quoted 1 line · Willian Rampazzo

On Fri, May 21, 2021 at 4:16 AM Thomas Huth <[email protected]> wrote:

[...]

Quoted 13 lines
Quoted 5 lines

Alternatively, what about renaming the "acceptance" tests to "validation"
instead? That word does not have a duplicated definition in the context of
QEMU yet, so I think it would be less confusing.

While at the beginning of your reply, I started thinking if "validation" would cause less confusion for the QEMU project. Although validation testing is a broader concept inside the Verification & Validation process, encompassing unit testing, functional testing, integration testing, system testing, and acceptance testing, it may be an option for the QEMU project.

Quoted 3 lines

While system testing would be the correct terminology to use, if it causes more confusion, using a less strict terminology, like validation testing, is valid, in my opinion.

Quoted 5 lines

<semi-homorous-friday-bikeshedding>
Or we could come up with a new, artificial name instead (like "qtests"). It certainly need a "q" in the name. For example what about:

- avoqado

+1 for 'make check-avoqado' :)

#19 lore raw
In reply to Thomas Huth
Quoted 21 lines · Thomas Huth
Quoted 1 line · Willian Rampazzo

On Fri, May 21, 2021 at 4:16 AM Thomas Huth <[email protected]> wrote:

[...]

Quoted 12 lines
Quoted 3 lines

Alternatively, what about renaming the "acceptance" tests to "validation" instead? That word does not have a duplicated definition in the context of QEMU yet, so I think it would be less confusing.

While at the beginning of your reply, I started thinking if "validation" would cause less confusion for the QEMU project. Although validation testing is a broader concept inside the Verification & Validation process, encompassing unit testing, functional testing, integration testing, system testing, and acceptance testing, it may be an option for the QEMU project.
While system testing would be the correct terminology to use, if it causes more confusion, using a less strict terminology, like validation testing, is valid, in my opinion.

<semi-homorous-friday-bikeshedding>
Or we could come up with a new, artificial name instead (like "qtests"). It certainly need a "q" in the name. For example what about:

Quoted 4 lines

- avoqado
- valiqation
- aqueptance
- inteqration

make check-quixotic?

Quoted 5 lines

?
</semi-homorous-friday-bikeshedding>

Thomas

Signature · 1 line
Alex Bennée
#20 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 49 lines · Philippe Mathieu-Daudé
Quoted 47 lines · Willian Rampazzo

Conceptually speaking, acceptance tests "are a series of specific tests conducted by the customer in an attempt to uncover product errors before accepting the software from the developer. Conducted by the end-user rather than software engineers, acceptance testing can range from an informal “test drive” to a planned and systematically executed series of scripted tests" [1]. Every time Pressman refers to the term "acceptance testing," he also refers to user's agreement in the final state of an implemented feature. Today, QEMU is not implementing user acceptance tests as described by Pressman.

There are other three possible terms we could use to describe what is currently QEMU "acceptance" tests:

1 - Integration tests:
- "Integration testing is a systematic technique for constructing the software architecture while at the same time conducting tests to uncover errors associated with interfacing. The objective is to take unit-tested components and build a program structure that has been dictated by design." [2]
* Note: Sommerville does not have a clear definition of integration testing. He refers to incremental integration of components inside the system testing (see [3]).

2 - Validation tests:
- "Validation testing begins at the culmination of integration testing, when individual components have been exercised, the software is completely assembled as a package, and interfacing errors have been uncovered and corrected. At the validation or system level, the distinction between different software categories disappears. Testing focuses on user-visible actions and user-recognizable output from the system." [4]
- "where you expect the system to perform correctly using a set of test cases that reflect the system’s expected use." [5]
* Note: the definition of "validation testing" from Sommerville reflects the same definition found around the Internet, as one of the processes inside the "Verification & Validation (V&V)." In this concept, validation testing is a high-level definition that covers unit testing, functional testing, integration testing, system testing, and acceptance testing.

3 - System tests:
- "verifies that all elements mesh properly and that overall system function and performance is achieved." [6]
- "involves integrating components to create a version of the system and then testing the integrated system. System testing checks that components are compatible, interact correctly, and transfer the right data at the right time across their interfaces." [7]

Quoted 7 lines
Quoted 4 lines

The tests implemented inside the QEMU "acceptance" directory depend on the software completely assembled and, sometimes, on other elements, like operating system images. In this case, the proposal here is to rename the current "acceptance" directory to "system."

Are user-mode tests using Avocado also system tests?
https://www.mail-archive.com/[email protected]/msg782505.html

Yes, they are considered system tests because in software engineering, system testing means your software built and tested using external test artifacts, just like your example.

Quoted 24 lines
Quoted 24 lines

[1] Pressman, Roger S. & Maxim, Bruce R. (2020). Software Engineering, A Practitioner’s Approach. p. 430.
[2] Pressman, Roger S. & Maxim, Bruce R. (2020). Software Engineering, A Practitioner’s Approach. Software Engineering, p. 398.
[3] Sommerville, Ian (2016). Software Engineering. p. 240-242.
[4] Pressman, Roger S. & Maxim, Bruce R. (2020). Software Engineering, A Practitioner’s Approach. Software Engineering, p. 407.
[5] Sommerville, Ian (2016). Software Engineering. p. 227.
[6] Pressman, Roger S. & Maxim, Bruce R. (2020). Software Engineering, A Practitioner’s Approach. Software Engineering, p. 377.
[7] Sommerville, Ian (2016). Software Engineering. p. 240.

---

.gitlab-ci.yml +0 -0
index f718b61fa7..c5de3c9fd5 100644
@@ -52,7 +52,7 @@ include:
     # Avoid recompiling by hiding ninja with NINJA=":"
     - make NINJA=":" $MAKE_CHECK_ARGS
 
Quoted 4 lines

.gitlab-ci.yml include: · line 55

Quoted 2 lines
.gitlab-ci.yml +1 -1
-.acceptance_template: &acceptance_definition
+.system_template: &system_definition

.system_test_template: &system_test_definition ?

Agreed, keeps the consistency.

Quoted 12 lines
Quoted 11 lines
tests/Makefile.include +1 -1
index 8f220e15d1..c580292bb5 100644
@@ -16,7 +16,7 @@ ifneq ($(filter $(all-check-targets), check-softfloat),)
      @echo " $(MAKE) check-tcg            Run TCG tests"
      @echo " $(MAKE) check-softfloat      Run FPU emulation tests"
 endif
-     @echo " $(MAKE) check-acceptance     Run all acceptance (functional) tests"
+     @echo " $(MAKE) check-system         Run all system tests"