From 8433563602a22cd2a77f5afbfbb178aa8f0d345f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 13 Feb 2025 18:40:11 +0100 Subject: [PATCH] tests: Do not enable virtual device hot seconds under valgrind Valgrind tests may be slow, leading the devices to be considered hot. We don't disable this for other tests, since we may still want to be sure that the logic is fine for normal usage --- tests/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/meson.build b/tests/meson.build index bfdf9131..4dec4acd 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -375,6 +375,8 @@ if valgrind.found() env: [ 'G_SLICE=always-malloc', 'UNDER_VALGRIND=1', + 'FP_VIRTUAL_IMAGE_HOT_SECONDS=-1', + 'FP_VIRTUAL_DEVICE_HOT_SECONDS=-1', 'LIBFPRINT_TEST_WRAPPER=' + ' '.join(libfprint_wrapper), ]) endif