5104b73824
tests/avocado: set -machine none for userfwd and vnc tests
...
These are exercising core QEMU features and don't actually run code.
Not specifying a machine will fail when avocado chooses the native
arch binary to run. Be explicit.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20221027183637.2772968-19-alex.bennee@linaro.org >
2022-10-31 20:37:59 +00:00
0fc389fe92
tests/avocado: Do not run tests that require libslirp if it is not available
...
Some avocado tests blindly assume that QEMU has been compiled with libslirp
enabled and fail badly if it is missing. Add a proper check to cancel the
tests in this case.
Message-Id: <20220824151122.704946-6-thuth@redhat.com >
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org >
Signed-off-by: Thomas Huth <thuth@redhat.com >
2022-08-29 15:28:51 +02:00
2283b627bc
tests/avocado: Rename avocado_qemu.Test -> QemuSystemTest
...
To run user-mode emulation tests, we introduced the
avocado_qemu.QemuUserTest which inherits from avocado_qemu.QemuBaseTest.
System-mode emulation tests are based on the avocado_qemu.Test class,
which also inherits avocado_qemu.QemuBaseTest. To avoid confusion,
rename it as avocado_qemu.QemuSystemTest.
Suggested-by: Wainer dos Santos Moschetta <wainersm@redhat.com >
Reviewed-by: Willian Rampazzo <willianr@redhat.com >
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-Id: <20211105143416.148332-7-f4bug@amsat.org >
2021-11-08 17:00:22 +01:00
bbbd9b6ec6
tests/acceptance: rename tests acceptance to tests avocado
...
In the discussion about renaming the `tests/acceptance` [1], the
conclusion was that the folders inside `tests` are related to the
framework running the tests and not directly related to the type of
the tests.
This changes the folder to `tests/avocado` and adjusts the MAKEFILE, the
CI related files and the documentation.
[1] https://lists.gnu.org/archive/html/qemu-devel/2021-05/msg06553.html
Reviewed-by: Niek Linnenbank <nieklinnenbank@gmail.com >
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Signed-off-by: Willian Rampazzo <willianr@redhat.com >
Message-Id: <20211105155354.154864-3-willianr@redhat.com >
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com >
2021-11-08 17:00:22 +01:00