You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many tests currently load textures, and in rendy#151, using rendy in multiple threads at the same time causes a segfault. Using a mutex slows down testing a lot.
We can speed the tests up by not loading textures for Systems that simply need an AssetId and some components, instead of using AutexousiousApplication::config_base() or AutexousiousApplication::game_base()
The text was updated successfully, but these errors were encountered:
Simply changing run_isolated() calls to run() worked. Perhaps underlying libraries or drivers were fixed to no longer have issues with running the tests in parallel.
Deferring re-organization of loading code in tests to a later date.
Perhaps introduce environmental / configuration flags that the asset part loaders read. Then even with SpriteRefs exist, they may choose to not load SpriteRenderSequences.
In GitLab by @azriel91 on Oct 5, 2019, 08:54
Many tests currently load textures, and in rendy#151, using rendy in multiple threads at the same time causes a segfault. Using a mutex slows down testing a lot.
We can speed the tests up by not loading textures for
System
s that simply need anAssetId
and some components, instead of usingAutexousiousApplication::config_base()
orAutexousiousApplication::game_base()
The text was updated successfully, but these errors were encountered: