Re: [Qemu-devel] [PATCH v2 5/6] tests/libqtest: Move global_test wrapper function into a separate header

2019-09-05 Thread Thomas Huth
On 04/09/2019 21.09, Eric Blake wrote: > On 9/4/19 1:51 PM, Stefan Hajnoczi wrote: >> On Wed, Sep 04, 2019 at 03:00:46PM +0200, Thomas Huth wrote: >>> diff --git a/tests/libqtest-single.h b/tests/libqtest-single.h >>> new file mode 100644 >>> index 00..49259558a5 >>> --- /dev/null >>> +++

Re: [Qemu-devel] [PATCH v2 5/6] tests/libqtest: Move global_test wrapper function into a separate header

2019-09-04 Thread Eric Blake
On 9/4/19 1:51 PM, Stefan Hajnoczi wrote: > On Wed, Sep 04, 2019 at 03:00:46PM +0200, Thomas Huth wrote: >> diff --git a/tests/libqtest-single.h b/tests/libqtest-single.h >> new file mode 100644 >> index 00..49259558a5 >> --- /dev/null >> +++ b/tests/libqtest-single.h >> +static inline

Re: [Qemu-devel] [PATCH v2 5/6] tests/libqtest: Move global_test wrapper function into a separate header

2019-09-04 Thread Stefan Hajnoczi
On Wed, Sep 04, 2019 at 03:00:46PM +0200, Thomas Huth wrote: > diff --git a/tests/libqtest-single.h b/tests/libqtest-single.h > new file mode 100644 > index 00..49259558a5 > --- /dev/null > +++ b/tests/libqtest-single.h > @@ -0,0 +1,311 @@ > +/* > + * QTest - wrappers for test with single

Re: [Qemu-devel] [PATCH v2 5/6] tests/libqtest: Move global_test wrapper function into a separate header

2019-09-04 Thread Eric Blake
On 9/4/19 8:00 AM, Thomas Huth wrote: > We want libqtest.h to become completely independen from global_qtest independent > (so that the wrapper functions are not used by accident anymore). As > a first step, move the wrapper functions into a separate header file. > > Signed-off-by: Thomas Huth