summaryrefslogtreecommitdiff
path: root/tests/unit/streaming/CMakeLists.txt
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-10-09 14:12:35 +0200
committerChristoph Berg <myon@debian.org>2026-10-09 14:12:35 +0200
commitffc62c792c9a5196cb4ce7a353287dfe20db6524 (patch)
tree1269efa852935b183daae4bb33a58d1b4d2ffb53 /tests/unit/streaming/CMakeLists.txt
parent059831534c7e884f0a607ed86b582fd00d821731 (diff)
New upstream version 3.3.0~beta1+dfsgupstream/3.3.0_beta1+dfsg
Diffstat (limited to 'tests/unit/streaming/CMakeLists.txt')
-rw-r--r--tests/unit/streaming/CMakeLists.txt21
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 ()