2018-04-06 18:21:14 +00:00
|
|
|
|
|
|
|
project(fluidsynth-test)
|
|
|
|
|
2018-04-06 20:07:21 +00:00
|
|
|
ENABLE_TESTING()
|
|
|
|
include ( FluidUnitTest )
|
|
|
|
|
2018-04-06 20:52:54 +00:00
|
|
|
## add unit tests here ##
|
2018-04-06 20:36:23 +00:00
|
|
|
ADD_FLUID_TEST(test_sample_cache)
|
2018-04-08 07:41:48 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
2018-04-06 20:52:54 +00:00
|
|
|
add_custom_target(check
|
2018-04-08 08:04:34 +00:00
|
|
|
COMMAND ${CMAKE_CTEST_COMMAND} -C $<CONFIG> --output-on-failure
|
2018-04-06 20:52:54 +00:00
|
|
|
DEPENDS
|
|
|
|
test_sample_cache
|
2018-04-08 07:41:48 +00:00
|
|
|
test_sfont_loading
|
2018-04-08 20:42:44 +00:00
|
|
|
test_defsfont_preset_iteration
|
2018-04-11 09:03:24 +00:00
|
|
|
test_sample_rate_change
|
2018-04-06 20:52:54 +00:00
|
|
|
)
|