command = build-$$build/kcf_vot $$flags $$seq $(if $(TRAVIS),2>&1) >$$out $(if $(TRAVIS),| grep -v libdc1394); true
rule PRINT_RESULTS
description = Print results
- command = ./wvtool -w131 -v run ./print-test-results $$in
+ command = ./wvtool -w120 -v run ./print-test-results $$in
rule PLOT_RESULTS
description = Plot results
command = ./graphGen.sh -f -s $$in
flags=${BASH_REMATCH[3]}
seq=${BASH_REMATCH[2]}
- result=$(grep 'Average accuracy:' $i || :)
- if [[ "$result" =~ Average\ accuracy:\ ([0-9.]+) ]]; then
+ result=$(grep 'Average accuracy:' $i | sed -e 's/Average/Avg./g' -e 's/processing //' || :)
+ if [[ "$result" =~ accuracy:\ ([0-9.]+) ]]; then
result+=" >= ${expected_accuracy[$seq]}"
if [[ $(echo "${BASH_REMATCH[1]} >= ${expected_accuracy[$seq]:-0}"|bc) -eq 1 ]]; then
status=ok
status=FAILED
fi
echo ! "$seq;$flags;$build;$result;$status"
-done | sort | column -t -s";"
+done | sort -t";" $SORT_FLAGS | column -t -s";"