Skip to content

Commit a2498dd

Browse files
committed
added verbose logging to pluginval tests
1 parent e69f113 commit a2498dd

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

CMakeIncludes/PGMPluginval.cmake

+7-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ set (PLUGINVAL_SAMPLERATES "44100;44800;96000" CACHE STRING "list of samplerates
3535

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

38-
mark_as_advanced (PLUGINVAL_PROGRAM PLUGINVAL_STRICTNESS PLUGINVAL_REPEATS PLUGINVAL_SAMPLERATES PLUGINVAL_BLOCKSIZES)
38+
set (PLUGINVAL_OUTPUT_DIR "${CMAKE_BINARY_DIR}/pluginval" CACHE PATH "Directory to write pluginval logs to")
39+
40+
mark_as_advanced (PLUGINVAL_PROGRAM PLUGINVAL_STRICTNESS PLUGINVAL_REPEATS PLUGINVAL_SAMPLERATES PLUGINVAL_BLOCKSIZES PLUGINVAL_OUTPUT_DIR)
3941

4042
#
4143

@@ -110,8 +112,10 @@ function (pgm_add_pluginval_tests pluginTarget)
110112
--strictness-level "${PLUGINVAL_STRICTNESS}"
111113
--sample-rates "${sample_rates}"
112114
--block-sizes "${block_sizes}"
113-
--repeat "${PLUGINVAL_REPEATS}" --randomise
114-
--validate "${plugin_artefact}")
115+
--repeat "${PLUGINVAL_REPEATS}"
116+
--validate "${plugin_artefact}"
117+
--output-dir "${PLUGINVAL_OUTPUT_DIR}"
118+
--randomise --verbose)
115119

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

CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ set (CMAKE_CXX_STANDARD_REQUIRED ON)
2525
set (CMAKE_CXX_VISIBILITY_PRESET hidden)
2626
set (CMAKE_VISIBILITY_INLINES_HIDDEN ON)
2727

28+
set (BUILD_SHARED_LIBS OFF)
29+
2830
# universal binaries on Mac
2931
set (CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING
3032
"Architectures to build on MacOS. Set to arm64\;x86_64 to build universal (fat) binaries, or just one of those for faster build times.")

0 commit comments

Comments
 (0)