From 7ed217e80234e1a8fff9890bacede7e864f88344 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0pa=C4=8Dek?= <petr.spacek@nic.cz>
Date: Wed, 20 Nov 2019 12:46:20 +0100
Subject: [PATCH] tests: skip Deckard integration tests if sendmmsg is enabled

All Deckard tests would fail anyway so we now print a warning and skip
Deckard tests.
---
 tests/meson.build | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tests/meson.build b/tests/meson.build
index 3d4382fc5..34b41205f 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -37,7 +37,11 @@ if build_extra_tests
   py3_deps = []
 
   subdir('pytests')
-  subdir('integration')
+  if not sendmmsg
+    subdir('integration')
+  else
+    warning('Integration tests do not work with sendmmsg, disable sendmmsg first!')
+  endif
 
   foreach py3_dep : py3_deps
     py3_import = run_command(python3, '-c', 'import @0@'.format(py3_dep[0]))
-- 
GitLab