aboutsummaryrefslogtreecommitdiff
path: root/test/meson.build
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2022-07-21 11:37:22 +0100
committerGitHub <noreply@github.com>2022-07-21 11:37:22 +0100
commit1305f161b7e0dd2c2a420c17efcb0bd49b94dad4 (patch)
tree8953b2b7ac5144e3535d9d803aca2015a5305532 /test/meson.build
parent36beb63be45ad1412562a98d9373a4c0bd91ab3d (diff)
downloadlibvfio-user-1305f161b7e0dd2c2a420c17efcb0bd49b94dad4.zip
libvfio-user-1305f161b7e0dd2c2a420c17efcb0bd49b94dad4.tar.gz
libvfio-user-1305f161b7e0dd2c2a420c17efcb0bd49b94dad4.tar.bz2
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 <john.levon@nutanix.com> Reviewed-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Diffstat (limited to 'test/meson.build')
-rw-r--r--test/meson.build26
1 files changed, 14 insertions, 12 deletions
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(