mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
Installed plug-ins are process-wide, and the shortcut test each_filter_plugin_takes_a_shortcut_of_its_own and the palette test filter_plugins_with_one_name_show_their_ids both install two filter plug-ins named Same Name. When the two ran at the same time, the shortcut test counted 4 Same Name lines in the exported shortcuts instead of its own 2, and its own row took an id suffix. The tests that install filter plug-ins under a shared name, or that check how plug-ins sharing a name are told apart, now hold one test lock (SHARED_PLUGIN_NAMES in the ui-egui test module) while their plug-ins are installed: the shortcut test and both palette tests (each_filter_plugin_is_a_result_of_its_own checks the exact labels of two filters named Group). Running the two tests together with --test-threads=8, 50 times on Linux: 0 of 50 passed before, 50 of 50 after.