3 source "$BP_DIR/bp_test/lib/test.sh"
5 if [ -f $log_file ]; then
15 for i in `ls "$BP_DIR/bp_test/test/"`; do
16 "$BP_DIR/bp_test/test/$i"
21 time=$[ $time1 - $time0 ]
23 test_count=`cat $log_file | wc -l | sed "s/ //g"`
24 test_ok=`grep -c "OK" $log_file`
26 test_fail=$[ $test_count - $test_ok ]
28 report="Biopieces tested: $count Tests run: $test_count OK: $test_ok FAIL: $test_fail Time: $time secs"
30 if [ $test_fail = 0 ]; then