Commit Graph

386 Commits

Author SHA1 Message Date
Måns Rullgård
34ae2d90e0 Remove dead target from .PHONY list
Originally committed as revision 24151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 23:37:19 +00:00
Måns Rullgård
7e264ca136 fate: add oneoff test for twinvq
Originally committed as revision 24135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 00:40:55 +00:00
Måns Rullgård
aab3ea5f7d fate: add oneoff comparison method
This adds the 'oneoff' comparison method.  It compares two s16le pcm
files with a max difference <= the fuzz factor treated as success.
Default fuzz is 1.  On failure, the full tiny_psnr output is printed.

Originally committed as revision 24134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 00:40:51 +00:00
Måns Rullgård
3ade7d32c1 fate: pass additional variables to test script
This passes the following additional variables to the test script:

- CMP  method to use comparing output with reference, default 'diff'
- REF  reference file, default 'tests/ref/fate/${test}'
- FUZZ maximum fuzz factor in comparison, meaning depends on CMP

Originally committed as revision 24133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 00:40:45 +00:00
Måns Rullgård
f955d45226 Change names of regtest output files to closer match the reference files
Originally committed as revision 24127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 22:10:14 +00:00
Måns Rullgård
9770a7ad0e Simplify regtest reference makefile dependencies
Originally committed as revision 24121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 18:44:08 +00:00
Måns Rullgård
57442411d7 Move regression test dependencies to configure
This allows expressing complex dependencies more easily.

Originally committed as revision 24120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 18:44:06 +00:00
Måns Rullgård
9be24c60d3 Create the regtest reference files only when necessary
This avoid recreating the ref files every time an individual test
is run from the command line.

Originally committed as revision 24113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 15:30:30 +00:00
Måns Rullgård
e1621087b6 Clean up make rules for calling codec test scripts
Originally committed as revision 24112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 15:30:25 +00:00
Måns Rullgård
4ab20de636 Beautify make messages when generating test data files
Originally committed as revision 24111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 15:30:23 +00:00
Stefano Sabatini
ce2e4ae35a Add pixdesctest filter and corresponding test.
Originally committed as revision 24092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-07 18:24:55 +00:00
Stefano Sabatini
3275ac6a23 Make the ffmpeg and ffplay man pages show the list of lavfi filters,
sinks and sources, and document the -vf option.

Originally committed as revision 23689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-21 22:09:07 +00:00
Stefano Sabatini
dd46b538ec Update documentation dependencies, make ff* tools manpages and HTML
pages depend of fftools-common-opts.texi.

Originally committed as revision 23687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-21 21:38:19 +00:00
Michael Niedermayer
59b847d3a9 Add simple rgb/yuv in avi regression test.
Originally committed as revision 23501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-06 00:05:12 +00:00
Stefano Sabatini
e34d5db595 Add libavfilter 1-input - 1-output regression test, corresponding to the
target regtest-lavfi_pix_fmts.

The lavfi_pix_fmts test is disabled, this because there are
many tests which are failing, and there are still some output files
which cannot be played by NUT/ffplay.

Originally committed as revision 23297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-24 20:38:50 +00:00
Måns Rullgård
666d7d18e1 FATE: print friendly error for individual tests when SAMPLES unset
Originally committed as revision 23079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-10 09:32:59 +00:00
Vitor Sessak
1840b28059 Makefile: make fate target depend on compiling ffmpeg
Originally committed as revision 22912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-19 13:05:26 +00:00
Stefano Sabatini
cec96e8de3 Add some ad-hoc tests for libavfilter.
A patched version of ffmpeg supporting video filters is required for
getting this working; thus make lavfitest is supposed to work only in
the libavfilter repository for now.

Originally committed as revision 22586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-17 23:23:44 +00:00
Måns Rullgård
2fad097788 Add FATE tests
This adds a "fate" make target which runs the full FATE test suite.
Individual tests can be run with "make fate-$testname".

The location of the FATE test samples must be specified with the
--samples=PATH option to configure.

The tests/fate-update.sh script regenerates the references files and
test list from the online FATE database.  These are checked in since
generating them requires non-standard tools.

Originally committed as revision 22552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-15 19:23:24 +00:00
Måns Rullgård
7732f641ff Fix brief make output for generated tables
Originally committed as revision 22526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-14 19:48:09 +00:00
Måns Rullgård
0853a2b47e 10l: fix version.h generation
Note to self: always test in a clean directory

Originally committed as revision 22423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 03:10:26 +00:00
Måns Rullgård
f82bf85055 Make version.h depend on git changes
Originally committed as revision 22421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 02:56:59 +00:00
Måns Rullgård
6a53fffd77 Improve version.h generation
Force version.sh to run whenever the version might have changed,
regardless of what is being built.  This is done by attaching the
dependencies to a dummy file (.version) which is included from the
makefile.  As make will always attempt to rebuild any included files
before considering other rules, this ensures that the real version.h
is (re-)created before it is required by any source file.

Originally committed as revision 22420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 02:56:56 +00:00
Måns Rullgård
86be2bc36f Prettify make output for documentation
Originally committed as revision 22418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 02:56:50 +00:00
Måns Rullgård
b91cd80917 Change dir into doc/ when running texi2html
This silly program always writes its output to the current directory.
Changing directory is better than moving the file afterwards.

Originally committed as revision 22417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-10 02:56:47 +00:00
Måns Rullgård
f89c14027a checkheaders: skip per-arch headers not meant for direct inclusion
Some of the per-arch headers are only meant to be used through
the parent header of the same name.  Testing these standalone
does not make sense.

Originally committed as revision 22341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 20:17:47 +00:00
Måns Rullgård
2a5500b13e Add TESTOBJS make variable for extra objects used by test apps
Originally committed as revision 22335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 18:43:44 +00:00
Måns Rullgård
9b55e2e727 Skip cmdutils_common_opts.h fragment in checkheaders
Originally committed as revision 22333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 18:43:38 +00:00
Måns Rullgård
63611f31e8 Prettify make output
This gives brief messages from make by default.  For full command
echoing, add V=1 to make command line.

Originally committed as revision 22244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 17:14:19 +00:00
Måns Rullgård
fd676deb96 Add INSTALL makefile variable
Originally committed as revision 22242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 17:14:13 +00:00
Måns Rullgård
b578357e59 Use mkdir -p to create directories
Originally committed as revision 22241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 17:14:11 +00:00
Måns Rullgård
4335125ccc Add CP make variable
Originally committed as revision 22240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 17:14:08 +00:00
Måns Rullgård
50e10cbd7a Use $(RM) to delete files
Originally committed as revision 22234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 14:25:10 +00:00
Måns Rullgård
d7096d6fdd Run seektest on all generated files
Originally committed as revision 22158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 21:59:16 +00:00
Måns Rullgård
801b571e33 Remove unused argument to test scripts
Originally committed as revision 22156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 21:42:03 +00:00
Stefano Sabatini
336ce917e6 Add FFprobe tool.
This is a simplified / cleaned-up version of the SourceForge program:
http://sourceforge.net/projects/ffprobe/

Syntax / features may be different, in particular the options
-show_packets and -show_frames are not yet supported in this version.

Originally committed as revision 21936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-21 11:43:01 +00:00
Måns Rullgård
2897dc780a Delete avconfig.h on distclean
Originally committed as revision 21920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-20 13:19:34 +00:00
Måns Rullgård
b6fa8e35f2 Delete all test related files in testclean rule
Originally committed as revision 21919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-20 13:19:29 +00:00
Måns Rullgård
c676895fd9 Separate audio-only tests so they are only run once
Originally committed as revision 21556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-30 21:47:13 +00:00
Måns Rullgård
97d5fa38e0 10l: fix linking
Alphabetical order isn't always a good idea.

Originally committed as revision 21472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-27 00:26:41 +00:00
Måns Rullgård
5a0f713118 Allow disabling of lavc, lavf, lavd, and lsws
Originally committed as revision 21468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-26 23:13:01 +00:00
Ramiro Polla
d3cb93b374 Revert r21226, it was a joke:
Get one step closer to world domination.
Remove "make uninstall".

Originally committed as revision 21466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-26 22:23:12 +00:00
Måns Rullgård
aa310a9fc7 Add rules to install generated headers
Originally committed as revision 21320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-19 04:40:13 +00:00
Måns Rullgård
05e24fa852 regtest: run tests only for enabled codecs and formats
Originally committed as revision 21256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 20:18:24 +00:00
Måns Rullgård
4b294c1872 regtest: split wma test into wmav1 and wmav2
Originally committed as revision 21255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 20:18:22 +00:00
Måns Rullgård
eca478c317 regtest: split reference files allowing tests to run individually
With this change, the output is checked immediately after each test
has run.  This means commands like "make regtest-mpeg2" can now be
used to run a single test and get meaningful results.

By default, make will abort if any test fails.  To run all tests
regardless, use make -k.

Originally committed as revision 21254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 20:18:13 +00:00
Ramiro Polla
93fe7eb68d Get one step closer to world domination.
Remove "make uninstall".

Originally committed as revision 21226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-15 19:16:28 +00:00
Reimar Döffinger
ae5e8caa3d Add ROQ format regression test.
Originally committed as revision 20811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-12 17:34:24 +00:00
Måns Rullgård
00962abaa0 Fix make install when all of ffmpeg/ffplay/ffserver are disabled
Originally committed as revision 20501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 15:56:03 +00:00
Måns Rullgård
c73f65d979 Allow disabling doc generation with --disable-doc
Originally committed as revision 20424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-31 15:58:49 +00:00