tests: Disable qht-bench parallel test when using gprof
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 3 Jan 2019 15:09:51 +0000 (16:09 +0100)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 11 Jan 2019 18:21:45 +0000 (16:21 -0200)
This test is failing on the Travis CI [*] since some time now,
disable it until it get fixed.

[*] https://travis-ci.org/qemu/qemu/builds/474821674

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190103150951.17592-3-philmd@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
configure
tests/Makefile.include

index 0c433ec0434f2f68a7d1d36e0ce242ca9e136233..bb1e7c9e198cde688090c02767d6b0f17bb04f67 100755 (executable)
--- a/configure
+++ b/configure
@@ -7490,6 +7490,7 @@ alpha)
 esac
 
 if test "$gprof" = "yes" ; then
+  echo "CONFIG_GPROF=y" >> $config_host_mak
   echo "TARGET_GPROF=y" >> $config_target_mak
   if test "$target_linux_user" = "yes" ; then
     cflags="-p $cflags"
index 9c84bbd829687dadef0bed4e48dcdc4f3970791d..dfd87344bdcfb713f0a45c8fbc1c11c013a41d00 100644 (file)
@@ -88,7 +88,8 @@ check-unit-y += tests/test-rcu-simpleq$(EXESUF)
 check-unit-y += tests/test-rcu-tailq$(EXESUF)
 check-unit-y += tests/test-qdist$(EXESUF)
 check-unit-y += tests/test-qht$(EXESUF)
-check-unit-y += tests/test-qht-par$(EXESUF)
+# FIXME: {test-qht-par + gprof} often break on Travis CI
+check-unit-$(call lnot,$(CONFIG_GPROF)) += tests/test-qht-par$(EXESUF)
 check-unit-y += tests/test-bitops$(EXESUF)
 check-unit-y += tests/test-bitcnt$(EXESUF)
 check-unit-y += tests/test-qdev-global-props$(EXESUF)