]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
tests: skip Deckard integration tests if sendmmsg is enabled
authorPetr Špaček <petr.spacek@nic.cz>
Wed, 20 Nov 2019 11:46:20 +0000 (12:46 +0100)
committerPetr Špaček <petr.spacek@nic.cz>
Wed, 20 Nov 2019 11:59:53 +0000 (12:59 +0100)
All Deckard tests would fail anyway so we now print a warning and skip
Deckard tests.

tests/meson.build

index 3d4382fc5a5ab11265fbdaf21c30713edb12a7e8..34b41205fb46393ed813c4bc27dfc0087e35657b 100644 (file)
@@ -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]))