]> git.proxmox.com Git - mirror_qemu.git/commit - MAINTAINERS
tests/unit: Add an unit test for smp parsing
authorYanan Wang <wangyanan55@huawei.com>
Tue, 26 Oct 2021 03:46:59 +0000 (11:46 +0800)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 1 Nov 2021 18:44:11 +0000 (19:44 +0100)
commit9e8e393bb795ff6c6963c47376369e90b1d40467
tree8760e4b16229c6c7a73af0677b5d32bbc5728a1c
parent86ce2d28fa09d15547b5cabdc264cadfb53a848c
tests/unit: Add an unit test for smp parsing

Now that we have a generic parser smp_parse(), let's add an unit
test for the code. All possible valid/invalid SMP configurations
that the user can specify are covered.

Signed-off-by: Yanan Wang <wangyanan55@huawei.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211026034659.22040-3-wangyanan55@huawei.com>
Acked-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <bfed7144-af86-7098-e7a6-731ff13c2cf7@huawei.com>
[PMD: Squashed format string fixup from Yanan Wang]
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
MAINTAINERS
tests/unit/meson.build
tests/unit/test-smp-parse.c [new file with mode: 0644]