diff options
author | John Levon <john.levon@nutanix.com> | 2022-07-21 11:37:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-21 11:37:22 +0100 |
commit | 1305f161b7e0dd2c2a420c17efcb0bd49b94dad4 (patch) | |
tree | 8953b2b7ac5144e3535d9d803aca2015a5305532 | |
parent | 36beb63be45ad1412562a98d9373a4c0bd91ab3d (diff) | |
download | libvfio-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>
-rw-r--r-- | meson_options.txt | 2 | ||||
-rw-r--r-- | test/meson.build | 26 |
2 files changed, 16 insertions, 12 deletions
diff --git a/meson_options.txt b/meson_options.txt index 5dd2efd..a731e06 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -6,3 +6,5 @@ option('debug-logs', type: 'feature', value: 'auto', description: 'enable extra debugging code (default for debug builds)') option('shadow-ioeventfd', type: 'boolean', value : false, description: 'enable shadow ioeventfd (experimental)') +option('client-server-test', type: 'boolean', value : false, + description: 'enable client-server test (flaky)') 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( |