Trigger same error message for all input formats

This commit is contained in:
Reuben Morais 2020-05-18 18:52:53 +02:00
parent e8647aa5fa
commit 1276c47d8f

View File

@ -368,7 +368,7 @@ run_electronjs_inference_tests()
run_basic_inference_tests()
{
set +e
deepspeech --model does_not_exist --audio ${TASKCLUSTER_TMP_DIR}/${ldc93s1_sample_filename} 2>${TASKCLUSTER_TMP_DIR}/stderr
deepspeech --model "" --audio ${TASKCLUSTER_TMP_DIR}/${ldc93s1_sample_filename} 2>${TASKCLUSTER_TMP_DIR}/stderr
set -e
grep "Missing model information" ${TASKCLUSTER_TMP_DIR}/stderr