annotate tests/refupdate.sh @ 34559:f3f93a410882

add media-100 qtx binary codec samples at https://ffmpeg.org/trac/ffmpeg/ticket/959 dtmt fourcc / isom untested (no sample).
author compn
date Thu, 02 Feb 2012 18:26:17 +0000
parents 6dc79618ec0e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
34444
bf52ce065c12 Add a script to help update the references.
reimar
parents:
diff changeset
1 #!/bin/sh
bf52ce065c12 Add a script to help update the references.
reimar
parents:
diff changeset
2 # updates all changed/new results in ref/
bf52ce065c12 Add a script to help update the references.
reimar
parents:
diff changeset
3 find res -name '*.bad' | while read bad_res ; do
bf52ce065c12 Add a script to help update the references.
reimar
parents:
diff changeset
4 ref_file="ref/${bad_res#res/}"
bf52ce065c12 Add a script to help update the references.
reimar
parents:
diff changeset
5 ref_file="${ref_file%.bad}"
34448
6dc79618ec0e Fix directory creation in refupdate script.
reimar
parents: 34444
diff changeset
6 mkdir -p "$(dirname "$ref_file")"
34444
bf52ce065c12 Add a script to help update the references.
reimar
parents:
diff changeset
7 cp "$bad_res" "$ref_file"
bf52ce065c12 Add a script to help update the references.
reimar
parents:
diff changeset
8 done