Disable failing tests on hurd
authorStephane Glondu <steph@glondu.net>
Mon, 4 Nov 2019 09:42:36 +0000 (10:42 +0100)
committerStéphane Glondu <glondu@debian.org>
Mon, 4 Nov 2019 09:42:36 +0000 (10:42 +0100)
debian/rules

index ca2d610a06a1cb7962fce06dbd4b8bf25fd398cf..6a0fa80201ce898c118e2ae331d0c0726d65276d 100755 (executable)
@@ -275,6 +275,12 @@ ifneq (,$(findstring kfreebsd,$(DEB_BUILD_ARCH)))
        rm -f testsuite/tests/lib-systhreads/testpreempt.ml
 endif
 endif
+ifneq (,$(findstring hurd,$(DEB_BUILD_ARCH)))
+       sed -i /beat.ml/d testsuite/tests/lib-threads/ocamltests
+       rm -f testsuite/tests/lib-threads/beat.ml
+       sed -i /threadsigmask.ml/d testsuite/tests/lib-systhreads/ocamltests
+       rm -f testsuite/tests/lib-systhreads/threadsigmask.ml
+endif
 ifeq (,$(DEB_TEST_BUILD_PREFIX))
        cd testsuite && make all
 endif