Skip to content

tests: Make expliction defaults for tests

Juan Quintela qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8qtest: "-display none" is set in qtest_init()tests/qtest/bios-tables-test.c tests/qtest/fuzz-lsi53c895a-test.c tests/qtest/fuzz-megasas-test.c +7 more+14 -152 replies
2/8qtest: Set "-net none" in qtest_init()tests/qtest/bios-tables-test.c tests/qtest/libqtest.c+2 -11 reply
3/8tests/acpi: The new default is -vga nonetests/qtest/bios-tables-test-allowed-diff.h+39 -00 replies
4/8tests/qtest: Add -vga none by defaulttests/qtest/boot-serial-test.c tests/qtest/dbus-display-test.c tests/qtest/display-vga-test.c +1 more+10 -90 replies
5/8tests/acpi: Regenerate all needed tablestests/data/acpi/pc/DSDT tests/data/acpi/pc/DSDT.acpierst tests/data/acpi/pc/DSDT.acpihmat +74 more+381 -9140 replies
6/8tests: Fix error stringstests/qtest/e1000-test.c tests/qtest/es1370-test.c+2 -21 reply
7/8meson-build: Enable CONFIG_REPLICATION only when replication is setmeson.build+1 -11 reply
8/8meson-build: test-crypto-secret depends on CONFIG_SECRET_KEYRINGtests/unit/meson.build+3 -12 replies

Reviews trailers per patch

5 of 8 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéThomas Huth
1/8R-b
2/8R-b
3/8
4/8
5/8
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] tests: Make expliction defaults for tests

Hi

For a long, long time I have had local hacks on my tree to be able to run "make tests" when I have a minimal configure guest. This is a first try to upstream some of it.

- by default we always setup -display none (it already was the default, but some places added it anyways)

- by default we always setup -net none. Not clear what was the default, but no tests use the default net, so it is safe change and now it is explicit.

- by default we always setup -vga none. This is a complete difference can of worms. Every tests that use vga already set vga correctly, so this is quite obvious, right? Now they are acpi tables. They are a mess. And basically this means remove a device for each one of them. Why going through all the trouble? Because while I am develping, I normall compile out vga.

- Fix several error strings that were set with copy paste.

- replication test requires CONFIG_REPLICATION.
- test-crypto-secret requires CONFIG_SECRET_KEYRING.

Please review. Except for the acpi changes (that I hope I have done right following the instructions) the rest is quite obvious.

Later, Juan.

Juan Quintela (8):
qtest: "-display none" is set in qtest_init()
qtest: Set "-net none" in qtest_init()
tests/acpi: The new default is -vga none
tests/qtest: Add -vga none by default
tests/acpi: Regenerate all needed tables
tests: Fix error strings
meson-build: Enable CONFIG_REPLICATION only when replication is set
meson-build: test-crypto-secret depends on CONFIG_SECRET_KEYRING

 meson.build                           |   2 +-
 tests/qtest/bios-tables-test.c        |   2 +-
 tests/qtest/boot-serial-test.c        |   4 ++--
 tests/qtest/dbus-display-test.c       |   2 +-
 tests/qtest/display-vga-test.c        |  12 ++++++------
 tests/qtest/e1000-test.c              |   2 +-
 tests/qtest/es1370-test.c             |   2 +-
 tests/qtest/fuzz-lsi53c895a-test.c    |   2 +-
 tests/qtest/fuzz-megasas-test.c       |   2 +-
 tests/qtest/fuzz-sb16-test.c          |   6 +++---
 tests/qtest/fuzz-sdcard-test.c        |   6 +++---
 tests/qtest/fuzz-virtio-scsi-test.c   |   2 +-
 tests/qtest/fuzz-xlnx-dp-test.c       |   2 +-
 tests/qtest/fuzz/generic_fuzz.c       |   3 +--
 tests/qtest/fuzz/i440fx_fuzz.c        |   2 +-
 tests/qtest/fuzz/qos_fuzz.c           |   2 +-
 tests/qtest/libqtest.c                |   2 ++
 tests/data/acpi/pc/DSDT               | Bin 5987 -> 5992 bytes
 tests/data/acpi/pc/DSDT.acpierst      | Bin 5954 -> 5959 bytes
 tests/data/acpi/pc/DSDT.acpihmat      | Bin 7312 -> 7317 bytes
 tests/data/acpi/pc/DSDT.bridge        | Bin 8653 -> 8658 bytes
 tests/data/acpi/pc/DSDT.cphp          | Bin 6451 -> 6456 bytes
 tests/data/acpi/pc/DSDT.dimmpxm       | Bin 7641 -> 7646 bytes
 tests/data/acpi/pc/DSDT.hpbridge      | Bin 5954 -> 5959 bytes
 tests/data/acpi/pc/DSDT.hpbrroot      | Bin 3069 -> 3023 bytes
 tests/data/acpi/pc/DSDT.ipmikcs       | Bin 6059 -> 6064 bytes
 tests/data/acpi/pc/DSDT.memhp         | Bin 7346 -> 7351 bytes
 tests/data/acpi/pc/DSDT.nohpet        | Bin 5845 -> 5850 bytes
 tests/data/acpi/pc/DSDT.numamem       | Bin 5993 -> 5998 bytes
 tests/data/acpi/pc/DSDT.roothp        | Bin 6195 -> 6151 bytes
 tests/data/acpi/pc/ERST.acpierst      | Bin 912 -> 912 bytes
 tests/data/acpi/q35/DMAR.dmar         | Bin 120 -> 112 bytes
 tests/data/acpi/q35/DSDT              | Bin 8274 -> 8228 bytes
 tests/data/acpi/q35/DSDT.acpierst     | Bin 8291 -> 8245 bytes
 tests/data/acpi/q35/DSDT.acpihmat     | Bin 9599 -> 9553 bytes
 tests/data/acpi/q35/DSDT.applesmc     | Bin 8320 -> 8274 bytes
 tests/data/acpi/q35/DSDT.bridge       | Bin 10988 -> 10944 bytes
 tests/data/acpi/q35/DSDT.cphp         | Bin 8738 -> 8692 bytes
 tests/data/acpi/q35/DSDT.cxl          | Bin 9600 -> 9502 bytes
 tests/data/acpi/q35/DSDT.dimmpxm      | Bin 9928 -> 9882 bytes
 tests/data/acpi/q35/DSDT.ipmibt       | Bin 8349 -> 8303 bytes
 tests/data/acpi/q35/DSDT.ipmismbus    | Bin 8363 -> 8317 bytes
 tests/data/acpi/q35/DSDT.ivrs         | Bin 8291 -> 8245 bytes
 tests/data/acpi/q35/DSDT.memhp        | Bin 9633 -> 9587 bytes
 tests/data/acpi/q35/DSDT.mmio64       | Bin 9404 -> 9358 bytes
 tests/data/acpi/q35/DSDT.multi-bridge | Bin 8568 -> 8524 bytes
 tests/data/acpi/q35/DSDT.nohpet       | Bin 8132 -> 8086 bytes
 tests/data/acpi/q35/DSDT.numamem      | Bin 8280 -> 8234 bytes
 tests/data/acpi/q35/DSDT.pvpanic-isa  | Bin 8375 -> 8329 bytes
 tests/data/acpi/q35/DSDT.tis.tpm12    | Bin 8880 -> 8834 bytes
 tests/data/acpi/q35/DSDT.tis.tpm2     | Bin 8906 -> 8860 bytes
 tests/data/acpi/q35/DSDT.viot         | Bin 9383 -> 9339 bytes
 tests/data/acpi/q35/DSDT.xapic        | Bin 35637 -> 35591 bytes
 tests/data/acpi/q35/ERST.acpierst     | Bin 912 -> 912 bytes
 tests/data/acpi/q35/IVRS.ivrs         | Bin 104 -> 100 bytes
 tests/data/acpi/q35/VIOT.viot         | Bin 112 -> 112 bytes
 tests/unit/meson.build                |   4 +++-
 57 files changed, 31 insertions(+), 28 deletions(-)
Signature · 1 line
2.37.2