kopia lustrzana https://github.com/projecthorus/horusdemodlib
rodzic
36707e11a9
commit
d2f85cb490
|
@ -59,6 +59,13 @@ enable_testing()
|
||||||
)
|
)
|
||||||
set_tests_properties(test_horus_binary PROPERTIES PASS_REGULAR_EXPRESSION "1C9A9545")
|
set_tests_properties(test_horus_binary PROPERTIES PASS_REGULAR_EXPRESSION "1C9A9545")
|
||||||
|
|
||||||
|
add_test(NAME test_horus_rtty_7n1
|
||||||
|
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||||
|
sox ${CMAKE_CURRENT_SOURCE_DIR}/samples/rtty_7n1.wav -r 48000 -t raw - |
|
||||||
|
./horus_demod -c -m rtty7n1 - - | grep OK | wc -l"
|
||||||
|
)
|
||||||
|
set_tests_properties(test_horus_rtty_7n1 PROPERTIES PASS_REGULAR_EXPRESSION "3")
|
||||||
|
|
||||||
add_test(NAME test_horus_rtty_7n2
|
add_test(NAME test_horus_rtty_7n2
|
||||||
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
COMMAND sh -c "cd ${CMAKE_CURRENT_BINARY_DIR}/src;
|
||||||
sox ${CMAKE_CURRENT_SOURCE_DIR}/samples/rtty_7n2.wav -r 48000 -t raw - |
|
sox ${CMAKE_CURRENT_SOURCE_DIR}/samples/rtty_7n2.wav -r 48000 -t raw - |
|
||||||
|
|
Plik binarny nie jest wyświetlany.
Ładowanie…
Reference in New Issue