Re: [Qemu-devel] [PATCH 1/4] tests: refactor fw_cfg_test

2019-04-23 Thread Thomas Huth
On 20/04/2019 12.00, Li Qiang wrote: > Currently, fw_cfg_test uses one QTestState for every test case. > This will add all command lines for every test case and > this is unnecessary. This patch split the test cases and for > every test case it uses his own QTestState. This patch does following >

[Qemu-devel] [PATCH 1/4] tests: refactor fw_cfg_test

2019-04-20 Thread Li Qiang
Currently, fw_cfg_test uses one QTestState for every test case. This will add all command lines for every test case and this is unnecessary. This patch split the test cases and for every test case it uses his own QTestState. This patch does following things: 1. Get rid of the global 'fw_cfg',