]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
fix(auth): Ensure socat is installed when enabling tests
authorPieter Lexis <pieter@plexis.eu>
Fri, 5 Sep 2025 14:37:12 +0000 (16:37 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Mon, 8 Sep 2025 08:46:52 +0000 (10:46 +0200)
meson.build
tasks.py

index 4b6aa8b85007f8910fed188daf58224987ce7e63..5659e0a98836b07e9b56638e7e1de785a705b8a2 100644 (file)
@@ -1054,6 +1054,7 @@ if get_option('unit-tests')
 endif
 
 if get_option('unit-tests-backends')
+  socat = find_program('socat', required: true)
   # Remote Backend Tests #################################################################
   if get_option('module-remote') != 'disabled'
     libpdns_module_remotebackend_test_common = declare_dependency(
index c8fd62899c64b91367e1cb104f8b721e97ba1298..b1da20bf2a87911e89ddb1a0d1ab9573ae820606 100644 (file)
--- a/tasks.py
+++ b/tasks.py
@@ -46,6 +46,7 @@ auth_build_deps = [    # FIXME: perhaps we should be stealing these from the deb
     'libyaml-cpp-dev',
     'libzmq3-dev',
     'python3-venv',
+    'socat',
     'sqlite3',
     'unixodbc-dev',
     'cmake',