mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-30 16:01:51 +00:00
68db8f4a80
addresses #527
22 lines
668 B
CMake
22 lines
668 B
CMake
|
|
ENABLE_TESTING()
|
|
include ( FluidUnitTest )
|
|
|
|
# first define the test target, used by the macros below
|
|
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} -C $<CONFIG> --output-on-failure)
|
|
|
|
|
|
## add unit tests here ##
|
|
ADD_FLUID_TEST(test_sample_cache)
|
|
ADD_FLUID_TEST(test_sfont_loading)
|
|
ADD_FLUID_TEST(test_sample_rate_change)
|
|
# ADD_FLUID_TEST(test_preset_sample_loading)
|
|
ADD_FLUID_TEST(test_pointer_alignment)
|
|
ADD_FLUID_TEST(test_seqbind_unregister)
|
|
ADD_FLUID_TEST(test_synth_chorus_reverb)
|
|
ADD_FLUID_TEST(test_snprintf)
|
|
ADD_FLUID_TEST(test_synth_process)
|
|
|
|
# if ( LIBSNDFILE_HASVORBIS )
|
|
# ADD_FLUID_TEST(test_sf3_sfont_loading)
|
|
# endif ( LIBSNDFILE_HASVORBIS )
|