annotate tests/refupdate.sh @ 36963:e539d330c7be

Remove unnecessary bounds checks in Win32 GUI. The checks that the rendered potmeter button doesn't exceed the bounds is not necessary as the item value is already limited within the range of 0 to 100. Patch by Hans-Dieter Kosch, hdkosch kabelbw de.
author ib
date Mon, 24 Mar 2014 12:52:01 +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