]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci: reenable `sendmmsg` for Deckard tests
authorŠtěpán Balážik <stepan.balazik@nic.cz>
Thu, 30 Apr 2020 12:10:04 +0000 (14:10 +0200)
committerŠtěpán Balážik <stepan.balazik@nic.cz>
Thu, 30 Apr 2020 13:01:37 +0000 (15:01 +0200)
.gitlab-ci.yml
doc/build.rst
tests/meson.build

index f87d9e9416afc41de01571f77a70bc04095b7a62..7ec76eeeb9d30c639d4080be4a055cc09db351cd 100644 (file)
@@ -62,8 +62,7 @@ archive:
 build:
   <<: *build
   script:
-      # sendmmsg: deckard can't handle that syscall
-    - meson build_ci --default-library=static --prefix=$PREFIX -Dwerror=true -Dextra_tests=enabled -Dsendmmsg=disabled
+    - meson build_ci --default-library=static --prefix=$PREFIX -Dwerror=true -Dextra_tests=enabled
     - ninja -C build_ci
     - ninja -C build_ci install >/dev/null
     - ${MESON_TEST} --suite unit --suite config
index f35d13cdef7b759c973a69a9e9cab82d414784ae..3537eed752541061983a7937f5365b2cfcbbd9d4 100644 (file)
@@ -172,8 +172,7 @@ The following command runs all enabled tests. By default, only unit tests are en
 More comprehensive tests require you to install ``kresd`` into the configured
 prefix before running the test suite. They also have to be explicitly enabled
 by using either ``-Dconfig_tests=enabled`` for postinstall config tests, or
-``-Dextra_tests=enabled`` for all tests, including deckard tests. Please note
-the latter also requires ``-Dsendmmsg=disabled``.
+``-Dextra_tests=enabled`` for all tests, including deckard tests.
 
 .. code-block:: bash
 
index 8aa1e95aa460f804e574db52476138ca16df7cbf..c4b332c739de81d7a0aa8441271ff390d6d02089 100644 (file)
@@ -37,15 +37,8 @@ if build_extra_tests
   python3 = find_program('python3')
   py3_deps = []
 
-  libuv_before_sendmmsg = dependency('libuv', version: '<1.35', required: false)
   subdir('pytests')
-  if sendmmsg
-    warning('Integration tests do not work with sendmmsg, disable sendmmsg using meson configure -Dsendmmsg=disabled builddir')
-  elif not libuv_before_sendmmsg.found()
-    warning('Integration tests do not work with libuv >= 1.35 because it internally uses sendmmsg which is not supported by Deckard, use an older version of libuv')
-  else
-    subdir('integration')
-  endif
+  subdir('integration')
 
   foreach py3_dep : py3_deps
     py3_import = run_command(python3, '-c', 'import @0@'.format(py3_dep[0]))