mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-13 00:04:10 +00:00
21 lines
446 B
CMake
21 lines
446 B
CMake
|
|
project(fluidsynth-test)
|
|
|
|
ENABLE_TESTING()
|
|
include ( FluidUnitTest )
|
|
|
|
## add unit tests here ##
|
|
ADD_FLUID_TEST(test_sample_cache)
|
|
ADD_FLUID_TEST(test_sfont_loading)
|
|
ADD_FLUID_TEST(test_defsfont_preset_iteration)
|
|
ADD_FLUID_TEST(test_sample_rate_change)
|
|
|
|
|
|
add_custom_target(check
|
|
COMMAND ${CMAKE_CTEST_COMMAND} -C $<CONFIG> --output-on-failure
|
|
DEPENDS
|
|
test_sample_cache
|
|
test_sfont_loading
|
|
test_defsfont_preset_iteration
|
|
test_sample_rate_change
|
|
)
|