From 1305f161b7e0dd2c2a420c17efcb0bd49b94dad4 Mon Sep 17 00:00:00 2001 From: John Levon Date: Thu, 21 Jul 2022 11:37:22 +0100 Subject: disable client-server test by default (#700) This test is flaky: there is some kind of race that causes the test to hang. Now we are run as part of qemu CI, we need to disable this by default, until we can find time to fix the test. Signed-off-by: John Levon Reviewed-by: Swapnil Ingle --- test/meson.build | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'test') diff --git a/test/meson.build b/test/meson.build index 1c3aef5..dd48e4d 100644 --- a/test/meson.build +++ b/test/meson.build @@ -69,19 +69,21 @@ test( args: [lspci], ) -csenv = [] -if opt_sanitizers != 'none' - csenv += ['WITH_ASAN=1'] -endif +if get_option('client-server-test') + csenv = [] + if opt_sanitizers != 'none' + csenv += ['WITH_ASAN=1'] + endif -test( - 'test-client-server', - find_program('test-client-server.sh'), - env: csenv, - suite: 'functional', - args: [client, server], - timeout: 90, -) + test( + 'test-client-server', + find_program('test-client-server.sh'), + env: csenv, + suite: 'functional', + args: [client, server], + timeout: 90, + ) +endif if opt_sanitizers == 'none' and meson.version().version_compare('>=0.56.0') test( -- cgit v1.1