mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
tests/virtual-image: Use sleep multiplier when running under valgrind
This commit is contained in:
@@ -146,6 +146,9 @@ class VirtualImage(unittest.TestCase):
|
||||
nonlocal done
|
||||
done = True
|
||||
|
||||
if 'UNDER_VALGRIND' in os.environ:
|
||||
timeout = timeout * 3
|
||||
|
||||
source = GLib.timeout_add(timeout, on_timeout_reached)
|
||||
while not done:
|
||||
if self.dev.get_finger_status() & finger_status:
|
||||
|
||||
Reference in New Issue
Block a user