From fbbeb22aa61a218be52b94eae081c9a75190f467 Mon Sep 17 00:00:00 2001 From: tianshuo78520a <707759223@qq.com> Date: Wed, 28 Aug 2024 08:57:41 +0000 Subject: [PATCH] Add tests --- tests/unit/ci.sh | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 tests/unit/ci.sh diff --git a/tests/unit/ci.sh b/tests/unit/ci.sh new file mode 100644 index 000000000..72943dc03 --- /dev/null +++ b/tests/unit/ci.sh @@ -0,0 +1,32 @@ +function main(){ + speech_ci_path=`pwd` + + + echo "Start asr" + cd ${speech_ci_path}/asr + bash deepspeech2_online_model_test.sh + python error_rate_test.py + python mask_test.py + python reverse_pad_list.py + echo "End asr" + + echo "Start TTS" + cd ${speech_ci_path}/tts + python test_data_table.py + python test_enfrontend.py + python test_mixfrontend.py + echo "End TTS" + + echo "Start Vector" + cd ${speech_ci_path}/vector + python test_augment.py + echo "End Vector" + + echo "Start cli" + cd ${speech_ci_path}/cli + source path.sh + bash test_cli.sh + echo "End cli" +} + +main