diff options
| author | drowe67 <[email protected]> | 2024-04-03 18:25:40 +1030 |
|---|---|---|
| committer | David Rowe <[email protected]> | 2024-04-03 18:25:40 +1030 |
| commit | 1de1b46b1279a13517bcbc3da19d7e1effe6ecd5 (patch) | |
| tree | 98233f4e8e31ef1991c86933f3f39a639a3f328c /CMakeLists.txt | |
| parent | cf069d2e62bd1e69efaddcfa60ca37374ed025b5 (diff) | |
ctest for custom mode
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index aa518d8..e62c58a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1291,6 +1291,12 @@ endif(NOT APPLE) ./freedv_data_raw_rx --framesperburst 2 --testframes DATAC0 - /dev/null --vv") set_tests_properties(test_freedv_data_raw_ofdm_datac0_burst PROPERTIES PASS_REGULAR_EXPRESSION "Coded FER: 0.0000 Tfrms: 6 Tfers: 0") + add_test(NAME test_freedv_data_raw_ofdm_data_custom + COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src; + ./freedv_data_raw_tx --bursts 3 --testframes 3 custom /dev/zero - | + ./freedv_data_raw_rx --testframes custom - /dev/null --vv") + set_tests_properties(test_freedv_data_raw_ofdm_data_custom PROPERTIES PASS_REGULAR_EXPRESSION "Coded FER: 0.0000 Tfrms: 3 Tfers: 0") + # Burst mode with data file I/O: add_test(NAME test_freedv_data_raw_ofdm_datac0_burst_file COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src; |
