13
0

Do not run plugin discovery for unit-tests

This fixes issues on MacOS (and Windows) unit-tests. The
unit-test run readless without proper UI thread. Discovering new
AU or VST can stall the app indefinitely or cause crashes.

NB. LADSPA, LV2 (and Lua) plugins are scanned regardless. Also
VST and AU cache files are read. The unit-test however only lists
LADSPA plugins.
This commit is contained in:
Robin Gareus 2020-08-06 16:51:27 +02:00
parent 6742a0961c
commit c6a8b848c9
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -30,7 +30,7 @@ PluginsTest::test ()
{
PluginManager& pm = PluginManager::instance ();
pm.refresh ();
pm.refresh (true);
Searchpath ladspa_paths(ladspa_search_path ());