Message ID | 20220824094029.1634519-25-bmeng.cn@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | tests/qtest: Enable running qtest on Windows | expand |
On 24/08/2022 11.40, Bin Meng wrote: > From: Xuzhou Cheng <xuzhou.cheng@windriver.com> > > There is no <sys/wait.h> in the Windows build environment. Actually > this is not needed in the non-win32 builds too. Drop it. > > Signed-off-by: Xuzhou Cheng <xuzhou.cheng@windriver.com> > Signed-off-by: Bin Meng <bin.meng@windriver.com> > --- > > tests/qtest/libqos/libqos.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/tests/qtest/libqos/libqos.c b/tests/qtest/libqos/libqos.c > index 85c7641add..5ffda080ec 100644 > --- a/tests/qtest/libqos/libqos.c > +++ b/tests/qtest/libqos/libqos.c > @@ -1,6 +1,4 @@ > #include "qemu/osdep.h" > -#include <sys/wait.h> Works for me: Tested-by: Thomas Huth <thuth@redhat.com>
On Wed, Aug 24, 2022 at 2:43 PM Bin Meng <bmeng.cn@gmail.com> wrote: > From: Xuzhou Cheng <xuzhou.cheng@windriver.com> > > There is no <sys/wait.h> in the Windows build environment. Actually > this is not needed in the non-win32 builds too. Drop it. > > Signed-off-by: Xuzhou Cheng <xuzhou.cheng@windriver.com> > Signed-off-by: Bin Meng <bin.meng@windriver.com> > Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> > --- > > tests/qtest/libqos/libqos.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/tests/qtest/libqos/libqos.c b/tests/qtest/libqos/libqos.c > index 85c7641add..5ffda080ec 100644 > --- a/tests/qtest/libqos/libqos.c > +++ b/tests/qtest/libqos/libqos.c > @@ -1,6 +1,4 @@ > #include "qemu/osdep.h" > -#include <sys/wait.h> > - > #include "../libqtest.h" > #include "libqos.h" > #include "pci.h" > -- > 2.34.1 > > >
diff --git a/tests/qtest/libqos/libqos.c b/tests/qtest/libqos/libqos.c index 85c7641add..5ffda080ec 100644 --- a/tests/qtest/libqos/libqos.c +++ b/tests/qtest/libqos/libqos.c @@ -1,6 +1,4 @@ #include "qemu/osdep.h" -#include <sys/wait.h> - #include "../libqtest.h" #include "libqos.h" #include "pci.h"