tests/unit/test-smp-parse: Make test cases aware of module level
authorZhao Liu <zhao1.liu@intel.com>
Wed, 29 May 2024 06:19:22 +0000 (14:19 +0800)
committerThomas Huth <thuth@redhat.com>
Wed, 12 Jun 2024 10:10:57 +0000 (12:10 +0200)
commitb985f4be53fe40e10583c3d35ff05255d712686a
tree4e920cc896e84a045c7e2814301699040350c2c6
parentaedfeffe19e65a657a4d989593fcf233809127d8
tests/unit/test-smp-parse: Make test cases aware of module level

Currently, -smp supports module level.

It is necessary to consider the effects of module in the test cases to
ensure that the calculations are correct. This is also the preparation
to add module test cases.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Yongwei Ma <yongwei.ma@intel.com>
Message-ID: <20240529061925.350323-6-zhao1.liu@intel.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/unit/test-smp-parse.c