OSDN Git Service

tests/unit/test-smp-parse: Split the 'generic' test in valid / invalid
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 15 Nov 2021 11:35:43 +0000 (12:35 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 31 Dec 2021 12:29:50 +0000 (13:29 +0100)
commitc30bdb025ce04f26ad63cbaebba911cff6573a52
tree7f1947ef7b7ef30e5c3d11d6f8fbde5b6a5a13ea
parent1ab192f30caeb7dd409fa82164ffa0df5e984a70
tests/unit/test-smp-parse: Split the 'generic' test in valid / invalid

Split the 'generic' test in two tests: 'valid' and 'invalid'.
This will allow us to remove the hack which modifies the
MachineClass internal state.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Yanan Wang <wangyanan55@huawei.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211216132015.815493-3-philmd@redhat.com>
tests/unit/test-smp-parse.c