]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
meson: tests/pytests - run extended test suite
authorTomas Krizek <tomas.krizek@nic.cz>
Mon, 4 Feb 2019 12:06:53 +0000 (13:06 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 12 Mar 2019 09:41:55 +0000 (10:41 +0100)
tests/pytests/meson.build

index e291668a79ac3a046edbe0acc60b14b81498c054..116c88a7925a4f267e3397a2e83a9f2bd0aa179f 100644 (file)
@@ -16,11 +16,10 @@ tlsproxy = executable(
 
 
 pytest = find_program('pytest', required: false)
+
 test(
   'pytests.basic',
   pytest,
-  is_parallel: false,
-  timeout: 180,
   args: [
     '--html', 'pytests.basic.html',
     '--self-contained-html',
@@ -36,5 +35,26 @@ test(
     'postinstall',
     'pytests',
   ],
+  is_parallel: false,
+  timeout: 180,
   depends: tlsproxy,
 )
+
+test(
+  'pytests.extended',
+  pytest,
+  args: [
+    '-ra',
+    '--capture=no',
+    '@0@'.format(join_paths(meson.current_source_dir(), 'conn_flood.py')),
+  ],
+  env: [
+    'KRESD_EXEC=@0@'.format(kresd_install_path),
+  ],
+  suite: [
+    'postinstall',
+    'pytests',
+  ],
+  is_parallel: false,
+  timeout: 240,
+)