diff options
Diffstat (limited to 'tests/unit/streaming/CMakeLists.txt')
| -rw-r--r-- | tests/unit/streaming/CMakeLists.txt | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/tests/unit/streaming/CMakeLists.txt b/tests/unit/streaming/CMakeLists.txt index 5a367f45..4db80617 100644 --- a/tests/unit/streaming/CMakeLists.txt +++ b/tests/unit/streaming/CMakeLists.txt @@ -1,16 +1,35 @@ add_executable (test_streaming_consumers test_streaming_consumers.cpp) +add_dependencies (test_streaming_consumers test_decoder_engine_q65 test_decoder_engine_fst4) target_link_libraries (test_streaming_consumers Qt5::Test) target_compile_definitions (test_streaming_consumers PRIVATE JT9_EXECUTABLE="$<TARGET_FILE:jt9>" WSPRD_EXECUTABLE="$<TARGET_FILE:wsprd>" + FST4_ENGINE_WAV="${CMAKE_BINARY_DIR}/tests/unit/decoder_engine/fst4-engine.wav" + FST4W_ENGINE_WAV="${CMAKE_BINARY_DIR}/tests/unit/decoder_engine/fst4w-engine.wav" + Q65_ENGINE_WAV="${CMAKE_BINARY_DIR}/tests/unit/decoder_engine/q65-engine.wav" ) add_test (NAME test_streaming_consumers COMMAND test_streaming_consumers) set_tests_properties (test_streaming_consumers PROPERTIES LABELS "streaming;runtime" - TIMEOUT 120 + TIMEOUT 360 + FIXTURES_REQUIRED "q65_engine_wav;fst4_engine_wav;fst4w_engine_wav" ) if (WSJT_ENABLE_TSAN) set_tests_properties (test_streaming_consumers PROPERTIES ENVIRONMENT "TSAN_OPTIONS=${wsjt_tsan_fortran_options}") endif () + +add_executable (test_streaming_period test_streaming_period.f90) +wsjt_link_common_fortran (test_streaming_period) +add_test (NAME test_streaming_period COMMAND test_streaming_period) +set_tests_properties (test_streaming_period PROPERTIES LABELS "streaming") + +add_executable (test_streaming_apply ${PROJECT_SOURCE_DIR}/test/apply_routing_test.f90) +wsjt_link_common_fortran (test_streaming_apply) +add_test (NAME test_streaming_apply COMMAND test_streaming_apply) +set_tests_properties (test_streaming_apply PROPERTIES LABELS "streaming") +if (WSJT_ENABLE_TSAN) + set_tests_properties (test_streaming_apply PROPERTIES + ENVIRONMENT "TSAN_OPTIONS=${wsjt_tsan_fortran_options}") +endif () |
