From: Tomas Krizek Date: Mon, 4 Feb 2019 12:06:53 +0000 (+0100) Subject: meson: tests/pytests - run extended test suite X-Git-Tag: v4.0.0~24^2~191 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6b2b3c7df9806baf9cadfd0280c19bc87ec50dcc;p=thirdparty%2Fknot-resolver.git meson: tests/pytests - run extended test suite --- diff --git a/tests/pytests/meson.build b/tests/pytests/meson.build index e291668a7..116c88a79 100644 --- a/tests/pytests/meson.build +++ b/tests/pytests/meson.build @@ -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, +)