gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 2d8b0410f25dba2904061ff98cee5ef2a2bb880d
parent 78a09e755a75c5fdde4e2724b6f94879803c1cc2
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Thu,  6 Feb 2025 23:01:43 +0100

add plugin tests

Diffstat:
Msource/juce.cmake | 18++++++++++++++++++
Msource/pluginTester/CMakeLists.txt | 7+++++++
2 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/source/juce.cmake b/source/juce.cmake @@ -226,6 +226,24 @@ macro(createJucePlugin targetName productName isSynth plugin4CC binaryDataProjec set_tests_properties(${targetName}_AU_Validate PROPERTIES LABELS "PluginTest") endif() + if(USE_VST2) + addPluginTest(${targetName}_VST) + endif() + if(USE_VST3) + addPluginTest(${targetName}_VST3) + endif() + if(USE_AU AND APPLE) + addPluginTest(${targetName}_AU) + endif() + if(USE_LV2) + addPluginTest(${targetName}_LV2) + endif() + + # CLAP hosting is not currently supported by the clap-juce-extensions +# if(USE_CLAP) +# addPluginTest(${targetName}_CLAP) +# endif() + # --------- Server Plugin --------- set(serverTarget ${productName}ServerPlugin) diff --git a/source/pluginTester/CMakeLists.txt b/source/pluginTester/CMakeLists.txt @@ -37,3 +37,10 @@ target_compile_definitions(pluginTester PRIVATE ) set_property(TARGET pluginTester PROPERTY FOLDER "Gearmulator") + +macro(addPluginTest targetName) + add_test(NAME test_${targetName} + COMMAND $<TARGET_FILE:pluginTester> -blocks 16 -plugin $<TARGET_FILE:${targetName}> + ) + set_tests_properties(test_${targetName} PROPERTIES LABELS "PluginTest") +endmacro()