mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 03:28:27 +00:00
fate: delete useless artifacts after running each test
Originally committed as revision 24395 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
bcb0a1546d
commit
157c924176
@ -63,6 +63,7 @@ pcm(){
|
||||
regtest(){
|
||||
t="${test#$2-}"
|
||||
ref=${base}/ref/$2/$t
|
||||
cleanfiles="$cleanfiles $outfile $errfile"
|
||||
outfile=tests/data/regression/$2/$t
|
||||
errfile=tests/data/$t.$2.err
|
||||
${base}/${1}-regression.sh $t $2 $3 "$target_exec" "$target_path"
|
||||
@ -77,6 +78,7 @@ lavftest(){
|
||||
}
|
||||
|
||||
lavfitest(){
|
||||
cleanfiles="tests/data/lavfi/*"
|
||||
regtest lavfi lavfi tests/vsynth1
|
||||
}
|
||||
|
||||
@ -113,4 +115,4 @@ esac
|
||||
|
||||
cmperr=$?
|
||||
test $err = 0 && err=$cmperr
|
||||
test $err = 0 && rm -f $outfile $errfile
|
||||
test $err = 0 && rm -f $outfile $errfile $cleanfiles
|
||||
|
Loading…
Reference in New Issue
Block a user