Skip to contentSkip to conversation

vhost-user: disable broken test

PATCH New Philippe Mathieu-Daudé 1 participant 1 message Sep 5, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 vhost-user: disable broken test

tests/vhost-user-test keeps failing on build-system since Aug 15:

ERROR:tests/vhost-user-test.c:835:test_flags_mismatch: child process (/i386/vhost-user/flags-mismatch/subprocess [4836]) failed unexpectedly
...
ERROR:tests/vhost-user-test.c:807:test_connect_fail: child process (/x86_64/vhost-user/connect-fail/subprocess [58910]) failed unexpectedly

The test can still be build for debug session using:

  $ FORCE_VHOST_USER_NET_TEST=1 ./configure ...

---
v2: remove unuseful warning

 configure | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
configure +5 -1
index fb7e34a901..921b3e1cff 100755
@@ -6386,7 +6386,11 @@ if supported_kvm_target $target; then
     if test "$vhost_net" = "yes" ; then
         echo "CONFIG_VHOST_NET=y" >> $config_target_mak
         if test "$vhost_user" = "yes" ; then
-            echo "CONFIG_VHOST_USER_NET_TEST_$target_name=y" >> $config_host_mak
+            # test currently broken (v2.10.0) but can still be forced using:
+            #   FORCE_VHOST_USER_NET_TEST=1 ./configure [...]
+            if test -n "${FORCE_VHOST_USER_NET_TEST}"; then
+                echo "CONFIG_VHOST_USER_NET_TEST_$target_name=y" >> $config_host_mak
+            fi
         fi
     fi
 fi
Signature · 1 line
2.14.1