Bail out immediately with software scaler instead of failing the tests.
authorDiego Biurrun <diego@biurrun.de>
Wed, 10 Jan 2007 20:40:02 +0000 (20:40 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 10 Jan 2007 20:40:02 +0000 (20:40 +0000)
Originally committed as revision 7438 to svn://svn.ffmpeg.org/ffmpeg/trunk

tests/Makefile

index 9c65bc5..18a5157 100644 (file)
@@ -37,6 +37,15 @@ libavtest:
        @echo
 endif
 
+ifeq ($(CONFIG_SWSCALER),yes)
+test-server codectest mpeg4 mpeg ac3 snow snowll libavtest: swscale_error
+swscale_error:
+       @echo
+       @echo "This regression test is incompatible with --enable-swscaler."
+       @echo
+       @exit 1
+endif
+
 # video generation
 
 vsynth1/00.pgm: videogen$(EXESUF)