Set unique_speaker and user_data parameters to null in espeak_Synth
This commit is contained in:
parent
072ca8b0ed
commit
283ab65eef
5 changed files with 40 additions and 11 deletions
29
scripts/run-tests.sh
Executable file
29
scripts/run-tests.sh
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e pipefail
|
||||
|
||||
# Directory of *this* script
|
||||
this_dir="$( cd "$( dirname "$0" )" && pwd )"
|
||||
src_dir="$(realpath "${this_dir}/..")"
|
||||
|
||||
if [[ "$1" == '--no-venv' ]]; then
|
||||
no_venv='1'
|
||||
fi
|
||||
|
||||
if [[ -z "${no_venv}" ]]; then
|
||||
venv="${src_dir}/.venv"
|
||||
if [[ -d "${venv}" ]]; then
|
||||
source "${venv}/bin/activate"
|
||||
fi
|
||||
fi
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
export PYTHONPATH="${src_dir}"
|
||||
|
||||
coverage run "--source=${src_dir}/espeak_phonemizer" -m pytest
|
||||
coverage report -m
|
||||
coverage xml
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
echo "OK"
|
||||
Loading…
Add table
Add a link
Reference in a new issue