view tests/refupdate.sh @ 35150:4683218a0324

vo corevideo: VOCTRL_UPDATE_SCREENINFO: Fix shared_buffer case Do not just perform a NOP and then return VO_TRUE indicating success. Instead set common vo variables and call aspect_save_screenres. Patch by Zongyao Qu >zongyao.qu gmail.com<
author al
date Fri, 12 Oct 2012 21:21:07 +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