aboutsummaryrefslogtreecommitdiffstats
path: root/fsa/src/alltest/ngram_test.sh
blob: 11e0703c013d8f71ea20fa50db764f40e3fa42f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
# Copyright Yahoo. 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_ngram_test_app > ngram_test.output
diff ngram_test.output $SOURCE_DIRECTORY/ngram_test.out