r24645 - in trunk: Makefile tests/lavfi-regression.sh
Author: stefano Date: Sun Aug 1 12:27:04 2010 New Revision: 24645 Log: Fix fate-lavfi-pixfmts test cross-compilation. Add the lavfi-showfiltfmts dependency in the Makefile, and correctly use the $target_exec and $target_path variables for invoking the lavfi-showfiltfmts tool. Modified: trunk/Makefile trunk/tests/lavfi-regression.sh Modified: trunk/Makefile ============================================================================== --- trunk/Makefile Sun Aug 1 12:27:00 2010 (r24644) +++ trunk/Makefile Sun Aug 1 12:27:04 2010 (r24645) @@ -226,6 +226,9 @@ tests/data/asynth1.sw tests/vsynth%/00.p tests/seek_test$(EXESUF): tests/seek_test.o $(FF_DEP_LIBS) $(LD) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS) +tools/lavfi-showfiltfmts$(EXESUF): tools/lavfi-showfiltfmts.o $(FF_DEP_LIBS) + $(LD) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS) + include $(SRC_PATH_BARE)/tests/fate.mak include $(SRC_PATH_BARE)/tests/fate2.mak @@ -248,7 +251,7 @@ FATE = $(FATE_ACODEC) $(FATE_ACODEC): $(AREF) $(FATE_VCODEC): $(VREF) $(FATE_LAVF): $(REFS) -$(FATE_LAVFI): $(REFS) +$(FATE_LAVFI): $(REFS) tools/lavfi-showfiltfmts$(EXESUF) $(FATE_SEEK): fate-codec fate-lavf tests/seek_test$(EXESUF) $(FATE_ACODEC): CMD = codectest acodec Modified: trunk/tests/lavfi-regression.sh ============================================================================== --- trunk/tests/lavfi-regression.sh Sun Aug 1 12:27:00 2010 (r24644) +++ trunk/tests/lavfi-regression.sh Sun Aug 1 12:27:04 2010 (r24645) @@ -66,15 +66,16 @@ vflip " if [ -n "$do_pixfmts_be" ] || [ -n "$do_pixfmts_le" ]; then + showfiltfmts="$target_exec $target_path/tools/lavfi-showfiltfmts" # exclude pixel formats which are not supported as input excluded_pix_fmts="$($ffmpeg -pix_fmts list 2>/dev/null | sed -ne '9,$p' | grep '^\..\.' | cut -d' ' -f2)" - scale_out_pix_fmts=$(tools/lavfi-showfiltfmts scale | grep "^OUTPUT" | cut -d: -f2) + scale_out_pix_fmts=$($showfiltfmts scale | grep "^OUTPUT" | cut -d: -f2) scale_out_pix_fmts=$(get_exclusive_elements "$scale_out_pix_fmts" "$excluded_pix_fmts") for filter_args in $filters_args; do filter=$(echo $filter_args | sed -e 's/\([^=]\+\)=.*/\1/') - in_pix_fmts=$(tools/lavfi-showfiltfmts $filter | grep "^INPUT" | cut -d: -f2) + in_pix_fmts=$($showfiltfmts $filter | grep "^INPUT" | cut -d: -f2) pix_fmts=$(get_common_elements "$in_pix_fmts" "$scale_out_pix_fmts") for pix_fmt in $pix_fmts; do
On Sun, Aug 01, 2010 at 12:27:04PM +0200, stefano wrote:
Author: stefano Date: Sun Aug 1 12:27:04 2010 New Revision: 24645
Log: Fix fate-lavfi-pixfmts test cross-compilation.
Add the lavfi-showfiltfmts dependency in the Makefile, and correctly use the $target_exec and $target_path variables for invoking the lavfi-showfiltfmts tool.
Stefano, can you add the 'tools/lavfi-showfiltfmts' binary to the svn:ignore list? -- Peter (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
On date Wednesday 2010-12-29 14:26:26 +1100, Peter Ross wrote:
On Sun, Aug 01, 2010 at 12:27:04PM +0200, stefano wrote:
Author: stefano Date: Sun Aug 1 12:27:04 2010 New Revision: 24645
Log: Fix fate-lavfi-pixfmts test cross-compilation.
Add the lavfi-showfiltfmts dependency in the Makefile, and correctly use the $target_exec and $target_path variables for invoking the lavfi-showfiltfmts tool.
Stefano, can you add the 'tools/lavfi-showfiltfmts' binary to the svn:ignore list?
Done. -- Nearly all men can stand adversity, but if you want to test a man's character, give him power. -- Abraham Lincoln
participants (3)
-
pross@xvid.org -
stefano.sabatini-lala@poste.it -
subversion@mplayerhq.hu