3 source "$BP_DIR/bp_test/lib/test.sh"
5 if [ -f $log_file ]; then
10 test_perl_module "Inline"
11 test_perl_module "JSON::XS"
12 test_perl_module "SVG"
13 test_perl_module "Bit::Vector"
14 test_perl_module "Time::HiRes"
16 test_ruby_gem "gnuplot"
17 test_ruby_gem "narray"
18 test_ruby_gem "RubyInline"
19 test_ruby_gem "terminal-table"
20 test_aux_program "blastall"
21 test_aux_program "blat"
22 test_aux_program "bwa"
23 test_aux_program "bowtie"
24 test_aux_program "formatdb"
25 test_aux_program "gnuplot"
26 test_aux_program "idba"
27 test_aux_program "muscle"
28 test_aux_program "mummer"
29 test_aux_program "mysql"
30 test_aux_program "prodigal"
31 test_aux_program "Ray"
32 test_aux_program "scan_for_matches"
33 test_aux_program "usearch"
34 test_aux_program "velveth"
35 test_aux_program "velvetg"
36 test_aux_program "vmatch"
41 for i in `ls "$BP_DIR/bp_test/test/"`; do
42 "$BP_DIR/bp_test/test/$i"
47 time=$[ $time1 - $time0 ]
49 test_count=`cat $log_file | wc -l | sed "s/ //g"`
50 test_ok=`grep -c "OK" $log_file`
51 test_fail=`grep -c "FAIL" $log_file`
52 test_warn=`grep -c "WARNING" $log_file`
54 report="Biopieces tested: $count Tests run: $test_count OK: $test_ok FAIL: $test_fail WARNING: $test_warn Time: $time secs"
56 if (($test_fail > 0)); then
58 elif (($test_warn > 0)); then