diff options
Diffstat (limited to 'tests/decoder/align/test_align_threshold.sh')
-rw-r--r-- | tests/decoder/align/test_align_threshold.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/decoder/align/test_align_threshold.sh b/tests/decoder/align/test_align_threshold.sh new file mode 100644 index 0000000..2ca014a --- /dev/null +++ b/tests/decoder/align/test_align_threshold.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +# Exit on error +set -e + +# Test code goes here +$MRT_MARIAN/build/marian-decoder -c $MRT_MODELS/wmt16_systems/marian.en-de.yml --mini-batch 16 -b 5 --alignment 0.35 < text.in > align_threshold.out +diff align_threshold.out align_threshold.expected > align_threshold.diff + +# Exit with success code +exit 0 |