Skip to content

Commit

Permalink
added verbose logging to pluginval tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benthevining authored and ffAudio committed Jul 31, 2023
1 parent 75fe38a commit 76beb77
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
10 changes: 7 additions & 3 deletions CMakeIncludes/PGMPluginval.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ set (PLUGINVAL_SAMPLERATES "44100;44800;96000" CACHE STRING "list of samplerates

set (PLUGINVAL_BLOCKSIZES "1;250;512" CACHE STRING "list of blocksizes to test in pluginval")

mark_as_advanced (PLUGINVAL_PROGRAM PLUGINVAL_STRICTNESS PLUGINVAL_REPEATS PLUGINVAL_SAMPLERATES PLUGINVAL_BLOCKSIZES)
set (PLUGINVAL_OUTPUT_DIR "${CMAKE_BINARY_DIR}/pluginval" CACHE PATH "Directory to write pluginval logs to")

mark_as_advanced (PLUGINVAL_PROGRAM PLUGINVAL_STRICTNESS PLUGINVAL_REPEATS PLUGINVAL_SAMPLERATES PLUGINVAL_BLOCKSIZES PLUGINVAL_OUTPUT_DIR)

#

Expand Down Expand Up @@ -141,8 +143,10 @@ function (pgm_add_pluginval_tests pluginTarget)
--strictness-level "${PLUGINVAL_STRICTNESS}"
--sample-rates "${sample_rates}"
--block-sizes "${block_sizes}"
--repeat "${PLUGINVAL_REPEATS}" --randomise
--validate "${plugin_artefact}")
--repeat "${PLUGINVAL_REPEATS}"
--validate "${plugin_artefact}"
--output-dir "${PLUGINVAL_OUTPUT_DIR}"
--randomise --verbose)

message (VERBOSE "Added pluginval test for plugin target ${format_target}")

Expand Down
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

cmake_minimum_required(VERSION 3.15 FATAL_ERROR)

set (FGM_VERSION 1.4.0)
set (FGM_VERSION 1.4.1)

project (foleys_gui_magic
DESCRIPTION "PluginGuiMagic"
Expand All @@ -56,6 +56,8 @@ set (CMAKE_CXX_STANDARD_REQUIRED ON)
set (CMAKE_CXX_VISIBILITY_PRESET hidden)
set (CMAKE_VISIBILITY_INLINES_HIDDEN ON)

set (BUILD_SHARED_LIBS OFF)

# universal binaries on Mac
set (CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING
"Architectures to build on MacOS. Set to arm64\;x86_64 to build universal (fat) binaries, or just one of those for faster build times.")
Expand Down
3 changes: 2 additions & 1 deletion Examples/PlayerExample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ target_compile_definitions(${PROJECT_NAME}
FOLEYS_ENABLE_BINARY_DATA=1
FOLEYS_SHOW_GUI_EDITOR_PALLETTE=1
FOLEYS_SAVE_EDITED_GUI_IN_PLUGIN_STATE=0
JUCE_WEB_BROWSER=0)
JUCE_WEB_BROWSER=0
JUCE_USE_CURL=0)
2 changes: 1 addition & 1 deletion modules/foleys_gui_magic/foleys_gui_magic.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
ID: foleys_gui_magic
vendor: Foleys Finest Audio
version: 1.3.9
version: 1.4.1
name: Foleys GUI magic
description: This module allows to create GUI with a drag and drop editor
dependencies: juce_core, juce_audio_basics, juce_audio_devices, juce_audio_formats,
Expand Down

0 comments on commit 76beb77

Please sign in to comment.