tests/unit/test-smp-parse: Use CPU number macros in invalid topology case
commit803f9714bfc12cf19488c61a0db4b1edf696e7d4
authorZhao Liu <zhao1.liu@intel.com>
Fri, 8 Mar 2024 16:01:40 +0000 (9 00:01 +0800)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sat, 9 Mar 2024 18:17:01 +0000 (9 19:17 +0100)
tree040a964bfc111a4018cad3585d7d5692f9aea118
parenta4f9386071c4a04fe581ac3750e2d4d61c683a6c
tests/unit/test-smp-parse: Use CPU number macros in invalid topology case

Use MAX_CPUS/MIN_CPUS macros in invalid topology case. This gives us the
flexibility to change the maximum and minimum CPU limits.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Tested-by: Xiaoling Song <xiaoling.song@intel.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240308160148.3130837-6-zhao1.liu@linux.intel.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
tests/unit/test-smp-parse.c