diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2025-04-09 01:47:27 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2025-04-09 02:29:59 +0300 |
commit | 973b7169f9200b2cb293ef4953d9c80a5e074714 (patch) | |
tree | 1c8f01daab6f8c1ec4c6e67b6178dde573513ba9 | |
parent | 2318207f28b48dcee7f1f71fc30ec561393327dd (diff) |
vsp-lib: Save RPF input frames upon error
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@ideasonboard.com>
-rwxr-xr-x | scripts/vsp-lib.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/vsp-lib.sh b/scripts/vsp-lib.sh index 92a9121..ba87de5 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 |