2018-04-06 18:21:14 +00:00
|
|
|
|
2018-04-06 20:07:21 +00:00
|
|
|
ENABLE_TESTING()
|
|
|
|
include ( FluidUnitTest )
|
|
|
|
|
2018-04-20 20:39:56 +00:00
|
|
|
# first define the test target, used by the macros below
|
|
|
|
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} -C $<CONFIG> --output-on-failure)
|
|
|
|
|
|
|
|
|
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-11 09:03:24 +00:00
|
|
|
ADD_FLUID_TEST(test_sample_rate_change)
|
2019-03-24 16:25:57 +00:00
|
|
|
# ADD_FLUID_TEST(test_preset_sample_loading)
|
2018-04-12 16:26:12 +00:00
|
|
|
ADD_FLUID_TEST(test_pointer_alignment)
|
2018-05-08 20:19:28 +00:00
|
|
|
ADD_FLUID_TEST(test_seqbind_unregister)
|
2018-05-09 20:09:23 +00:00
|
|
|
ADD_FLUID_TEST(test_synth_chorus_reverb)
|
2018-05-17 12:56:55 +00:00
|
|
|
ADD_FLUID_TEST(test_snprintf)
|
2019-04-14 14:54:59 +00:00
|
|
|
ADD_FLUID_TEST(test_synth_process)
|
2019-10-17 20:37:24 +00:00
|
|
|
ADD_FLUID_TEST(test_ct2hz)
|
2019-12-12 10:42:34 +00:00
|
|
|
ADD_FLUID_TEST(test_seq_event_queue_sort)
|
2020-01-03 19:30:09 +00:00
|
|
|
ADD_FLUID_TEST(test_seq_scale)
|
2018-04-06 18:21:14 +00:00
|
|
|
|
2019-03-24 16:25:57 +00:00
|
|
|
# if ( LIBSNDFILE_HASVORBIS )
|
|
|
|
# ADD_FLUID_TEST(test_sf3_sfont_loading)
|
|
|
|
# endif ( LIBSNDFILE_HASVORBIS )
|