Skip to content

Commit 577b2b3

Browse files
committed
Automated test case for EAS SAME.
1 parent f8b9cae commit 577b2b3

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

test/CMakeLists.txt

+8
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ set(TEST_CHECK-MODEM2400-a_FILE "check-modem2400-a")
2626
set(TEST_CHECK-MODEM2400-b_FILE "check-modem2400-b")
2727
set(TEST_CHECK-MODEM2400-g_FILE "check-modem2400-g")
2828
set(TEST_CHECK-MODEM4800_FILE "check-modem4800")
29+
set(TEST_CHECK-MODEMEAS_FILE "check-modemeas")
2930

3031
# generate the scripts that run the tests
3132

@@ -101,6 +102,12 @@ configure_file(
101102
@ONLY
102103
)
103104

105+
configure_file(
106+
"${CUSTOM_TEST_SCRIPTS_DIR}/${TEST_CHECK-MODEMEAS_FILE}"
107+
"${CUSTOM_TEST_BINARY_DIR}/${TEST_CHECK-MODEMEAS_FILE}${CUSTOM_SCRIPT_SUFFIX}"
108+
@ONLY
109+
)
110+
104111

105112
# global includes
106113
# not ideal but not so slow
@@ -498,6 +505,7 @@ add_test(check-modem2400-a "${CUSTOM_TEST_BINARY_DIR}/${TEST_CHECK-MODEM2400-a_F
498505
add_test(check-modem2400-b "${CUSTOM_TEST_BINARY_DIR}/${TEST_CHECK-MODEM2400-b_FILE}${CUSTOM_SCRIPT_SUFFIX}")
499506
add_test(check-modem2400-g "${CUSTOM_TEST_BINARY_DIR}/${TEST_CHECK-MODEM2400-g_FILE}${CUSTOM_SCRIPT_SUFFIX}")
500507
add_test(check-modem4800 "${CUSTOM_TEST_BINARY_DIR}/${TEST_CHECK-MODEM4800_FILE}${CUSTOM_SCRIPT_SUFFIX}")
508+
add_test(check-modemeas "${CUSTOM_TEST_BINARY_DIR}/${TEST_CHECK-MODEMEAS_FILE}${CUSTOM_SCRIPT_SUFFIX}")
501509

502510

503511

test/scripts/check-modemeas

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@CUSTOM_SHELL_SHABANG@
2+
3+
@GEN_PACKETS_BIN@ -B EAS -o testeas.wav
4+
@ATEST_BIN@ -B EAS -L 6 -G 6 testeas.wav

0 commit comments

Comments
 (0)