aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f6b2201..aa518d8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1078,6 +1078,12 @@ if (NOT APPLE)
./freedv_data_raw_tx --testframes 10 DATAC13 /dev/zero /dev/null")
set_tests_properties(test_memory_leak_FreeDV_DATAC13_tx PROPERTIES PASS_REGULAR_EXPRESSION "ERROR SUMMARY: 0 errors")
+ add_test(NAME test_memory_leak_FreeDV_DATAC14_tx
+ COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
+ valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes \
+ ./freedv_data_raw_tx --testframes 10 DATAC14 /dev/zero /dev/null")
+ set_tests_properties(test_memory_leak_FreeDV_DATAC14_tx PROPERTIES PASS_REGULAR_EXPRESSION "ERROR SUMMARY: 0 errors")
+
add_test(NAME test_memory_leak_FreeDV_700E_tx
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes \
@@ -1321,6 +1327,13 @@ endif(NOT APPLE)
./freedv_data_raw_rx DATAC13 - binaryOut.bin -v;
diff binaryIn.bin binaryOut.bin")
+ add_test(NAME test_freedv_data_raw_ofdm_datac14_burst_file
+ COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
+ head -c $((3*10)) </dev/urandom > binaryIn.bin;
+ ./freedv_data_raw_tx DATAC14 binaryIn.bin - --bursts 10 |
+ ./freedv_data_raw_rx DATAC14 - binaryOut.bin -v;
+ diff binaryIn.bin binaryOut.bin")
+
# FSK LDPC default 100 bit/s 2FSK, enough noise for several % raw BER to give
# FEC/acquisition a work out, bursts of 1 frame as that stresses acquisition
add_test(NAME test_freedv_data_raw_fsk_ldpc_100