view tests/refupdate.sh @ 36386:416614dd856b

Define STRIP for FFmpeg. This will prevent the (ignored) build error "/bin/sh: 1: -wN: not found". If the strip utility doesn't support the options -wN, there still will be an (ignored) "strip: unrecognized option: -wN" error we currently can't do anything about.
author ib
date Thu, 24 Oct 2013 12:06:41 +0000
parents 6dc79618ec0e
children
line wrap: on
line source

#!/bin/sh
# updates all changed/new results in ref/
find res -name '*.bad' | while read bad_res ; do
  ref_file="ref/${bad_res#res/}"
  ref_file="${ref_file%.bad}"
  mkdir -p "$(dirname "$ref_file")"
  cp "$bad_res" "$ref_file"
done