summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2021-03-15 22:18:14 +0000
committerAlexander Richardson <alexander.richardson@cl.cam.ac.uk>2021-09-10 11:35:54 +0000
commitc65f852fc8b2742e4944f58f9bd0f1e0b44b983a (patch)
tree88ff4448fda881ba29f915cc89fa8921823254eb /tests
parent8ec25be6dbd1d5ca4e4b55ce573424a33c79f361 (diff)
downloadwayland-c65f852fc8b2742e4944f58f9bd0f1e0b44b983a.tar.gz
Use epoll-shim to emulate epoll(7) on FreeBSD
FreeBSD does not provide epoll(7) and instead requires an external library, epoll-shim, that implements epoll() using kqueue(2) Co-authored-by: Jan Beich <jbeich@FreeBSD.org> Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Diffstat (limited to 'tests')
-rw-r--r--tests/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 2e11af4..58794e7 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -9,6 +9,7 @@ test_runner = static_library(
dependencies: [
cc.find_library('dl', required: false),
dependency('threads'),
+ epoll_dep,
ffi_dep,
wayland_util_dep,
wayland_private_dep,
@@ -154,7 +155,7 @@ tests = {
foreach test_name, test_extra_sources: tests
test_sources = [ test_name + '.c' ] + test_extra_sources
- test_deps = [test_runner_dep]
+ test_deps = [test_runner_dep, epoll_dep]
bin = executable(test_name, test_sources, dependencies: test_deps)
test(
test_name,