]> Git Repo - qemu.git/commit
tests/device-introspect: Test with all machines, not only with "none"
authorThomas Huth <[email protected]>
Thu, 16 Aug 2018 11:35:57 +0000 (13:35 +0200)
committerPaolo Bonzini <[email protected]>
Thu, 23 Aug 2018 16:46:25 +0000 (18:46 +0200)
commit410573aa2c79265eaa51ea2cd7a2bc5906f3b48f
treecaa79686ccede5b5bba1d066f59894b916b640ee
parentd0685212643faab85136b35788691d0bde00205c
tests/device-introspect: Test with all machines, not only with "none"

Certain device introspection crashes used to only happen if you were
using a certain machine, e.g. if the machine was using serial_hd() or
nd_table[], and a device was trying to use these in its instance_init
function, too.

To be able to catch these problems, let's extend the device-introspect
test to check the devices on all machine types, with and without the
"-nodefaults" parameter (since this makes a difference sometimes, too).
Since this is a rather slow operation, and most of the problems are
already handled by testing with the "none" machine only, the test with
all machines is only run in the "make check SPEED=slow" mode.

Reviewed-by: Markus Armbruster <[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
Message-Id: <1534419358[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Reviewed-by: John Snow <[email protected]>
Reviewed-by: Laurent Vivier <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
tests/device-introspect-test.c
This page took 0.024047 seconds and 4 git commands to generate.