annotate tests/refupdate.sh @ 35281:fbd8efe9e5a8

Support decoding fourcc GXVE with FFmpeg's wmv2 decoder. Found by Piotr Bandurski
author cehoyos
date Sat, 10 Nov 2012 10:56:36 +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