HomePhabricator

tests/elm: speed up all main loop timer execution

Authored by zmike on Feb 1 2019, 11:42 AM.

Description

tests/elm: speed up all main loop timer execution

this spins a second loop which manages a timer to trigger the canvas tick
and increase the loop timer by a fixed interval on every timer call

by increasing the loop time manually, timers such as edje animation timers
which would usually take a very long time (e.g., 0.5s) to run will instead
complete almost instantly, making tests run much faster

the second loop is necessary in this case in order to accurately provide ticks
at a consistent interval without any modifications to timing

Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
Differential Revision: https://phab.enlightenment.org/D6791

Details

Committed
ManMowerFeb 1 2019, 12:10 PM
Differential Revision
D6791: tests/elm: speed up all main loop timer execution
Parents
rEFL421b29dcb8d7: efl_interfaces: missing interfaces prefix
Branches
Unknown
Tags
Unknown