From 533950cc31427bfce7fab792a101435043f58d95 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 30 Nov 2021 15:55:23 +0000 Subject: [PATCH] tests: Serialise drm-smoke-test against everything else drm-smoke-test can't run at the same time as anything else which touches DRM devices. This includes any test which would use the GL renderer or GL/GBM on the client side, since they will open DRM devices to probe them at init time. Signed-off-by: Daniel Stone --- tests/meson.build | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/meson.build b/tests/meson.build index 0f70420f..330e0421 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -132,7 +132,7 @@ tests = [ 'name': 'drm-formats', 'dep_objs': dep_libdrm_headers, }, - { 'name': 'drm-smoke', }, + { 'name': 'drm-smoke', 'run_exclusive': true }, { 'name': 'event', }, { 'name': 'internal-screenshot', }, { @@ -305,6 +305,8 @@ foreach t : tests t_deps = [ dep_test_client, dep_libweston_private_h ] t_deps += t.get('dep_objs', []) + run_exclusive = t.get('run_exclusive', false) + t_exe = executable( t_name, t_sources, @@ -323,7 +325,8 @@ foreach t : tests t_exe, depends: t.get('test_deps', []), timeout: 120, - protocol: 'tap' + protocol: 'tap', + is_parallel: not run_exclusive ) endforeach