blob: be98ada0e243847bea40de28eb4a3cd5511bb175 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
set -e
if [ -z "$SOURCE_DIRECTORY" ]; then
SOURCE_DIRECTORY="."
fi
./fsa_segmenter_test_app < $SOURCE_DIRECTORY/testinput.txt > segmenter_test.output
diff segmenter_test.output $SOURCE_DIRECTORY/segmenter_test.out
|