Re: [PATCH 4/7] tests/fw_cfg: Let the tests use a context

2019-10-04 Thread Laszlo Ersek
On 10/04/19 00:54, Philippe Mathieu-Daudé wrote: > Introduce the local QTestCtx structure, and register the tests > with qtest_add_data_func(ctx). > For now the context only contains the machine name (which is > fixed to the 'pc' machine, since this test only runs on the > x86 architecture). > > S

[PATCH 4/7] tests/fw_cfg: Let the tests use a context

2019-10-03 Thread Philippe Mathieu-Daudé
Introduce the local QTestCtx structure, and register the tests with qtest_add_data_func(ctx). For now the context only contains the machine name (which is fixed to the 'pc' machine, since this test only runs on the x86 architecture). Signed-off-by: Philippe Mathieu-Daudé --- tests/fw_cfg-test.c