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
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
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]))