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 27, 2023
1 parent fcfb723 commit a89d418
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 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
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a89d418

Please sign in to comment.