mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-05-05 17:08:02 +02:00
tests/virtual-image: Use sleep multiplier when running under valgrind
This commit is contained in:
parent
8433563602
commit
b8ed4b5d63
1 changed files with 3 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue