Skip to content

Commit

Permalink
Add tests (#3836)
Browse files Browse the repository at this point in the history
* Add tests

* fix

* Fix

* Fix

* disable deepspeech2_online_model_test

* disable test_data_table

* Fix
  • Loading branch information
tianshuo78520a authored Aug 30, 2024
1 parent d9eb82a commit 7e52aae
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions tests/unit/ci.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
function main(){
set -ex
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
bash test_cli.sh
echo "End cli"
}

main

0 comments on commit 7e52aae

Please sign in to comment.