Re: [Qemu-devel] [PATCH v6 25/29] wdt_ib700-test: Drop dependence on global_qtest

2017-09-05 Thread Thomas Huth
On 01.09.2017 20:03, Eric Blake wrote: > As a general rule, we prefer avoiding implicit global state > because it makes code harder to safely copy and paste without > thinking about the global state. Improve this test to be > explicit about the state. > > Signed-off-by: Eric Blake > --- > tests

[Qemu-devel] [PATCH v6 25/29] wdt_ib700-test: Drop dependence on global_qtest

2017-09-01 Thread Eric Blake
As a general rule, we prefer avoiding implicit global state because it makes code harder to safely copy and paste without thinking about the global state. Improve this test to be explicit about the state. Signed-off-by: Eric Blake --- tests/wdt_ib700-test.c | 63 +++-