From 279f4c6184a2765142c4f7fb213c0fb725b8b2d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20V=C3=A1rady?= Date: Sat, 18 Jul 2026 22:58:11 +0200 Subject: [PATCH] cram: fix depending on default-timeout executable --- test/cram/meson.build | 3 ++- test/full/meson.build | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/cram/meson.build b/test/cram/meson.build index 98f23f39..a4df996e 100644 --- a/test/cram/meson.build +++ b/test/cram/meson.build @@ -20,5 +20,6 @@ if sh.found() and cram.found() timeout: 240, workdir: join_paths(meson.current_source_dir(), '..', '..'), args: ['--shell=' + sh.full_path(), 'test/cram'], - env: env) + env: env, + depends: default_timeout) endif diff --git a/test/full/meson.build b/test/full/meson.build index 9d30b0aa..156974da 100644 --- a/test/full/meson.build +++ b/test/full/meson.build @@ -28,7 +28,7 @@ if has_cxx endif endif -executable('default-timeout.c.bin', 'default-timeout.c', +default_timeout = executable('default-timeout.c.bin', 'default-timeout.c', include_directories: [criterion_api], link_with: libcriterion.get_shared_lib())