fluidsynth/test/CMakeLists.txt

21 lines
560 B
Text
Raw Normal View History

2018-04-06 18:21:14 +00:00
project(fluidsynth-test)
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 ##
2018-04-06 20:36:23 +00:00
ADD_FLUID_TEST(test_sample_cache)
ADD_FLUID_TEST(test_sfont_loading)
2018-04-08 20:42:44 +00:00
ADD_FLUID_TEST(test_defsfont_preset_iteration)
2018-04-11 09:03:24 +00:00
ADD_FLUID_TEST(test_sample_rate_change)
2018-04-06 18:21:14 +00:00
if ( LIBSNDFILE_HASVORBIS )
ADD_FLUID_TEST(test_sf3_sfont_loading)
ADD_FLUID_TEST(test_sf3_defsfont_preset_iteration)
endif ( LIBSNDFILE_HASVORBIS )