Commit 77cce79a authored by Måns Rullgård's avatar Måns Rullgård

fate: ensure all imported rules are handled by helpers

Originally committed as revision 24318 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent cdaf4b79
...@@ -39,8 +39,11 @@ do_sql "$SQL_TESTS" | while read id name command; do ...@@ -39,8 +39,11 @@ do_sql "$SQL_TESTS" | while read id name command; do
command="${command#*ffmpeg}"; command="${command% -f *}" command="${command#*ffmpeg}"; command="${command% -f *}"
command="crc $command" command="crc $command"
;; ;;
*)
echo "Unhandled command '$command'"
exit 1
;;
esac 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/\$SAMPLES_PATH/$(SAMPLES)/g')
command=$(echo "$command" | sed 's/ *$//') command=$(echo "$command" | sed 's/ *$//')
do_sql "SELECT expected_stdout FROM test_spec WHERE id=$id" | awk '/./{print}' > "$ref/$name" do_sql "SELECT expected_stdout FROM test_spec WHERE id=$id" | awk '/./{print}' > "$ref/$name"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment