3 bp=`basename $0 | sed s/^test_//`
4 in="$BP_DIR/bp_test/in/$bp.in"
5 out="$BP_DIR/bp_test/out/$bp.out"
7 log_file="$BP_TMP/test.log"
13 echo -n "Testing $command ... "
14 eval $command > /dev/null 2>&1
18 function assert_no_diff
23 local diff=`diff -q $src $dst`
25 if [ "$diff" != "" ]; then
27 echo "FAIL" >> $log_file
30 echo "OK" >> $log_file
39 echo -e "\033[32;38m$msg\033[0m"
46 echo -e "\033[31;38m$msg\033[0m"