[FFmpeg-devel] Revision 9087 regression test fail

Diego Biurrun diego
Fri May 25 14:47:17 CEST 2007


On Wed, May 23, 2007 at 12:59:59PM +0200, Benoit Fouet wrote:
> 
> Michael Niedermayer wrote:
> >
> > On Wed, May 23, 2007 at 08:40:35AM +0300, Siarhei Siamashka wrote:
> >   
> >> On Wednesday 23 May 2007 04:45, Michael Niedermayer wrote:
> >>     
> >>>> Here is a starting part of the regression test report where errors
> >>>> initially pop up (the rest of log is attached):
> >>>>         
> >>> the attached file is definitly not the complete output of "make test"
> >>> i think its not even the complete output of make seektest as that
> >>> should output a proper diff but the headers are missing ...
> >>>       
> >> Yes, indeed, it only contained the last part of log with errors (the same
> >> information which was enough for you in the report of Panagiotis Issaris).
> >>
> >> I'm interpreting your reply as a request for complete output of "make test".
> >> Now attached the file with the output generated in 'maketest.log' by invoking
> >> the following command from shell: "make test &> maketest.log"
> >
> > does it work with --enable-gpl? (it should)
> 
> it does (at least on my machine)

But is it the correct fix?  Why does it depend on --enable-gpl?

> > if so the seek test should be disabled without that ...
> 
> a patch trial is attached
> 
> --- tests/Makefile	(revision 9103)
> +++ tests/Makefile	(working copy)
> @@ -52,8 +52,10 @@
>  	@exit 1
>  endif
>  
> +ifeq ($(CONFIG_GPL),yes)
>  seektest: seek_test$(EXESUF)
>  	@$(SRC_DIR)/seek_test.sh $(SEEK_REFFILE)
> +endif
>  
> @@ -85,8 +87,10 @@
>  
>  #FIXME cleanup shit below
> +ifeq ($(CONFIG_GPL),yes)
>  seek_test$(EXESUF): seek_test.c $(LIBAV)
>  	$(CC) $(LDFLAGS) $(CFLAGS) -DHAVE_AV_CONFIG_H -I.. -I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libavutil -o $@ $< $(SRC_PATH)/libavformat/libavformat.a $(SRC_PATH)/libavcodec/libavcodec.a $(SRC_PATH)/libavutil/libavutil.a $(EXTRALIBS)
> +endif

This is very ugly, there is no need to add two more conditionals.

Diego




More information about the ffmpeg-devel mailing list