mirror of
https://agent.ghink.cloud/wb2osz/direwolf
synced 2025-04-03 19:28:40 +00:00
Automated test case for EAS SAME.
This commit is contained in:
parent
f8b9cae461
commit
577b2b3cf2
@ -26,6 +26,7 @@ set(TEST_CHECK-MODEM2400-a_FILE "check-modem2400-a")
|
||||
set(TEST_CHECK-MODEM2400-b_FILE "check-modem2400-b")
|
||||
set(TEST_CHECK-MODEM2400-g_FILE "check-modem2400-g")
|
||||
set(TEST_CHECK-MODEM4800_FILE "check-modem4800")
|
||||
set(TEST_CHECK-MODEMEAS_FILE "check-modemeas")
|
||||
|
||||
# generate the scripts that run the tests
|
||||
|
||||
@ -101,6 +102,12 @@ configure_file(
|
||||
@ONLY
|
||||
)
|
||||
|
||||
configure_file(
|
||||
"${CUSTOM_TEST_SCRIPTS_DIR}/${TEST_CHECK-MODEMEAS_FILE}"
|
||||
"${CUSTOM_TEST_BINARY_DIR}/${TEST_CHECK-MODEMEAS_FILE}${CUSTOM_SCRIPT_SUFFIX}"
|
||||
@ONLY
|
||||
)
|
||||
|
||||
|
||||
# global includes
|
||||
# not ideal but not so slow
|
||||
@ -498,6 +505,7 @@ add_test(check-modem2400-a "${CUSTOM_TEST_BINARY_DIR}/${TEST_CHECK-MODEM2400-a_F
|
||||
add_test(check-modem2400-b "${CUSTOM_TEST_BINARY_DIR}/${TEST_CHECK-MODEM2400-b_FILE}${CUSTOM_SCRIPT_SUFFIX}")
|
||||
add_test(check-modem2400-g "${CUSTOM_TEST_BINARY_DIR}/${TEST_CHECK-MODEM2400-g_FILE}${CUSTOM_SCRIPT_SUFFIX}")
|
||||
add_test(check-modem4800 "${CUSTOM_TEST_BINARY_DIR}/${TEST_CHECK-MODEM4800_FILE}${CUSTOM_SCRIPT_SUFFIX}")
|
||||
add_test(check-modemeas "${CUSTOM_TEST_BINARY_DIR}/${TEST_CHECK-MODEMEAS_FILE}${CUSTOM_SCRIPT_SUFFIX}")
|
||||
|
||||
|
||||
|
||||
|
4
test/scripts/check-modemeas
Normal file
4
test/scripts/check-modemeas
Normal file
@ -0,0 +1,4 @@
|
||||
@CUSTOM_SHELL_SHABANG@
|
||||
|
||||
@GEN_PACKETS_BIN@ -B EAS -o testeas.wav
|
||||
@ATEST_BIN@ -B EAS -L 6 -G 6 testeas.wav
|
Loading…
x
Reference in New Issue
Block a user