fate: ensure all imported rules are handled by helpers

Originally committed as revision 24318 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-07-18 20:50:03 +00:00
parent cdaf4b79bb
commit 77cce79aa7
1 changed files with 4 additions and 1 deletions

View File

@ -39,8 +39,11 @@ do_sql "$SQL_TESTS" | while read id name command; do
command="${command#*ffmpeg}"; command="${command% -f *}"
command="crc $command"
;;
*)
echo "Unhandled command '$command'"
exit 1
;;
esac
command=$(echo "$command" | sed 's/\$BUILD_PATH/$(TARGET_PATH)/g')
command=$(echo "$command" | sed 's/\$SAMPLES_PATH/$(SAMPLES)/g')
command=$(echo "$command" | sed 's/ *$//')
do_sql "SELECT expected_stdout FROM test_spec WHERE id=$id" | awk '/./{print}' > "$ref/$name"