When a test fail, it can be useful to inspect the frames input to the RPFs. Save them along the frames output by the WPFs and the reference frames. Signed-off-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> --- scripts/vsp-lib.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/vsp-lib.sh b/scripts/vsp-lib.sh index 92a9121337f1..ba87de5af954 100755 --- a/scripts/vsp-lib.sh +++ b/scripts/vsp-lib.sh @@ -316,9 +316,13 @@ compare_frames() { if [ x$VSP_KEEP_FRAMES = x1 -o $result = "fail" ] ; then mv ${frames_dir}ref-frame.bin ${0/.sh/}-$params-ref-frame.bin + for frame in ${frames_dir}rpf.*.bin ; do + mv $frame ${0/.sh/}-$params-$(basename ${frame}) + done else rm -f ${frames_dir}ref-frame.bin rm -f ${frames_dir}frame-*.bin + rm -f ${frames_dir}rpf.*.bin fi echo $result -- Regards, Laurent Pinchart