blob: b741cdf0783686f2f0c60737ee9a51377b451385 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/bash
#Run tests. Requires Boost.
set -e
./compile.sh
for i in util/{file_piece,joint_sort,key_value_packing,probing_hash_table,sorted_uniform}_test lm/ngram_test; do
g++ -I. -O3 $i.cc {lm,util}/*.o -lboost_test_exec_monitor -o $i
pushd $(dirname $i) && ./$(basename $i); popd
done
|