mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
fate: never generate auto-generated references
GEN=1 is used to generate reference files in the source tree, not auto-generated reference samples. Without this patch GEN=1 could overwrite the auto generated reference files in each test where they are used causing failures. Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
4ebf478f4c
commit
0b98f28c46
@ -658,7 +658,7 @@ else
|
||||
fi
|
||||
echo "${test}:${sig:-$err}:$cmpo:$erro" >$repfile
|
||||
|
||||
if test $err != 0 && test $gen != "no" ; then
|
||||
if test $err != 0 && test $gen != "no" && test "${ref#tests/data/}" == "$ref" ; then
|
||||
echo "GEN $ref"
|
||||
cp -f "$outfile" "$ref"
|
||||
err=$?
|
||||
|
Loading…
Reference in New Issue
Block a user