Message ID | 20220824094029.1634519-17-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.39, Bin Meng wrote: > From: Bin Meng <bin.meng@windriver.com> > > The whole e1000e-test test case relies on socketpair() which does > not exist on win32. > > Signed-off-by: Bin Meng <bin.meng@windriver.com> > --- > > tests/qtest/meson.build | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build > index be4b30dea2..9d0f82bf1c 100644 > --- a/tests/qtest/meson.build > +++ b/tests/qtest/meson.build > @@ -239,7 +239,6 @@ qos_test_ss.add( > 'adm1272-test.c', > 'ds1338-test.c', > 'e1000-test.c', > - 'e1000e-test.c', > 'eepro100-test.c', > 'es1370-test.c', > 'ipoctal232-test.c', > @@ -267,6 +266,9 @@ qos_test_ss.add( > 'virtio-iommu-test.c', > 'vmxnet3-test.c', > ) > +if config_host.has_key('CONFIG_POSIX') > + qos_test_ss.add(files('e1000e-test.c')) > +endif > if have_virtfs > qos_test_ss.add(files('virtio-9p-test.c')) > endif Reviewed-by: Thomas Huth <thuth@redhat.com>
diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build index be4b30dea2..9d0f82bf1c 100644 --- a/tests/qtest/meson.build +++ b/tests/qtest/meson.build @@ -239,7 +239,6 @@ qos_test_ss.add( 'adm1272-test.c', 'ds1338-test.c', 'e1000-test.c', - 'e1000e-test.c', 'eepro100-test.c', 'es1370-test.c', 'ipoctal232-test.c', @@ -267,6 +266,9 @@ qos_test_ss.add( 'virtio-iommu-test.c', 'vmxnet3-test.c', ) +if config_host.has_key('CONFIG_POSIX') + qos_test_ss.add(files('e1000e-test.c')) +endif if have_virtfs qos_test_ss.add(files('virtio-9p-test.c')) endif