diff --git a/tests/nemo_text_processing/pt/test_sparrowhawk_inverse_text_normalization.sh b/tests/nemo_text_processing/pt/test_sparrowhawk_inverse_text_normalization.sh index 511411e90..50ee77774 100755 --- a/tests/nemo_text_processing/pt/test_sparrowhawk_inverse_text_normalization.sh +++ b/tests/nemo_text_processing/pt/test_sparrowhawk_inverse_text_normalization.sh @@ -1,7 +1,7 @@ #! /bin/sh GRAMMARS_DIR=${1:-"/workspace/sparrowhawk/documentation/grammars"} -PROJECT_DIR=${2:-"/workspace/tests/en"} +PROJECT_DIR=${2:-"/workspace/tests"} runtest () { input=$1 @@ -82,5 +82,8 @@ testITNWord() { runtest $input } +# Remove all command-line arguments +shift $# + # Load shUnit2 . $PROJECT_DIR/../shunit2/shunit2 diff --git a/tests/nemo_text_processing/pt/test_sparrowhawk_normalization.sh b/tests/nemo_text_processing/pt/test_sparrowhawk_normalization.sh index c9f39aaa7..0877a6c80 100755 --- a/tests/nemo_text_processing/pt/test_sparrowhawk_normalization.sh +++ b/tests/nemo_text_processing/pt/test_sparrowhawk_normalization.sh @@ -87,5 +87,8 @@ testTNElectronic() { # runtest $input # } +# Remove all command-line arguments +shift $# + # Load shUnit2 . $PROJECT_DIR/../shunit2/shunit2