Fix tests to preserve multiline output and stderr output
This commit is contained in:
parent
f70f068484
commit
79ab22086e
@ -428,12 +428,12 @@ run_prod_concurrent_stream_tests()
|
||||
--lm ${TASKCLUSTER_TMP_DIR}/lm.binary \
|
||||
--trie ${TASKCLUSTER_TMP_DIR}/trie \
|
||||
--audio1 ${TASKCLUSTER_TMP_DIR}/LDC93S1.wav \
|
||||
--audio2 ${TASKCLUSTER_TMP_DIR}/new-home-in-the-stars-16k.wav 2>/dev/null)
|
||||
--audio2 ${TASKCLUSTER_TMP_DIR}/new-home-in-the-stars-16k.wav 2>${TASKCLUSTER_TMP_DIR}/stderr)
|
||||
status=$?
|
||||
set -e
|
||||
|
||||
output1=$(echo ${output} | head -n 1)
|
||||
output2=$(echo ${output} | tail -n 1)
|
||||
output1=$(echo "${output}" | head -n 1)
|
||||
output2=$(echo "${output}" | tail -n 1)
|
||||
|
||||
assert_correct_ldc93s1_prodmodel "${output1}" "${status}"
|
||||
assert_correct_inference "${output2}" "i must find a new home in the stars" "${status}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user