aboutsummaryrefslogtreecommitdiff
path: root/test/meson.build
diff options
context:
space:
mode:
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(