Reinhard Tartler
a862c7d336
Integrate lcov/gcov into Libav
...
The gcov/lcov are a common toolchain for visualizing code coverage with
the GNU/Toolchain. The documentation and implementation of this
integration was heavily inspired from the blog entry by Mike Melanson:
http://multimedia.cx/eggs/using-lcov-with-ffmpeg/
2013-04-05 18:55:11 +02:00
Luca Barbato
b01b60a29d
fate: add an option to generate the references
...
Useful to add or update fate tests.
2013-03-29 15:41:26 +01:00
Diego Biurrun
47e7fb8815
fate: Do not unconditionally run libavutil tests
...
Now that libavutil can be disabled, this should be conditional.
2012-11-28 19:36:13 +01:00
Mans Rullgard
a1f6ad69c7
fate: check that dependencies actually exist
...
This causes make to exit with an error message if a nonexistent
dependency is specified rather than silently dropping the test.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-23 11:12:24 +01:00
Mans Rullgard
6f9018fc5e
fate: fix ENCMUX macro
...
This matches how it is actually being called.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-23 11:12:24 +01:00
Diego Biurrun
71f3eb4536
fate: cosmetics: Group idct8x8 test together with all other libavcodec tests
2012-10-23 10:52:15 +02:00
Diego Biurrun
8b8899ac32
fate: Declare avcodec/avformat deps in the respective Makefile snippets
2012-10-23 10:28:40 +02:00
Diego Biurrun
8860878291
fate: Introduce ENCMUX macro for tests that require encoders and a muxer
2012-10-20 21:10:21 +02:00
Mans Rullgard
eccd0671cc
fate: dependencies for demux tests
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-18 13:12:28 +01:00
Mans Rullgard
c0329748b0
fate: add a dependency helper macro
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-18 13:12:28 +01:00
Mans Rullgard
206a070dce
fate: list lavfi tests in a makefile
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-17 22:31:18 +01:00
Mans Rullgard
36ac9a16a1
fate: dependencies for seek tests
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-17 22:31:18 +01:00
Mans Rullgard
fa26335003
fate: handle lavf test dependencies entirely in make
...
This makes the lavf tests depend on all codecs and formats they use.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-17 22:31:18 +01:00
Mans Rullgard
21fed588cb
fate: add macros useful for conditionally enabling things
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-17 22:31:18 +01:00
Martin Storsjö
7bc433b36d
fate: Add tests of the ff_make_absolute_url function
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-09 14:16:34 +03:00
Justin Ruggles
e981215944
FATE: add ALAC encoding tests
2012-08-22 16:41:57 -04:00
Mans Rullgard
b9d3c37848
build: use COMPILE template for HOSTOBJS
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-07-26 23:58:59 +01:00
Anton Khirnov
73cd131ebc
FATE: add a test for the asyncts audio filter.
2012-07-22 10:14:16 +02:00
Mans Rullgard
7c29377b70
lavfi: reclassify showfiltfmts as a TESTPROG
...
This tool uses lavfi internal symbols not accessible in shared
libraries. TESTPROGS are linked statically to allow them use of
library internals not normally exported.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-07-04 17:48:25 +01:00
Anton Khirnov
bf2a7f9161
FATE: add a test for itunes cover art.
2012-07-04 05:58:47 +02:00
Mans Rullgard
983fa8bc46
fate: add flac encode/decode tests with various options
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-07-04 01:22:40 +01:00
Diego Biurrun
a488028362
build: Do not delete tests/vsynth2 directory, which is no longer created.
2012-06-13 12:27:49 +02:00
Mans Rullgard
d0e9415d23
fate: avoid freopen(NULL) in videogen/rotozoom
...
A number of systems do not implement freopen() with a NULL filename
correctly. This changes these programs to output individual images
if opening a named output argument as a file fails, in this case
assuming it is a directory.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-06-07 11:28:39 +01:00
Mans Rullgard
7263cd5544
fate: convert codec-regression.sh to makefile rules
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-29 08:35:41 +01:00
Mans Rullgard
47b5996bb0
fate: allow tests to specify unit size for psnr comparison
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-29 08:27:19 +01:00
Mans Rullgard
7e5880e0cb
fate: teach videogen/rotozoom to output a single raw video stream
...
This makes videogen/rotozoom output a raw video stream on stdout
if no output directory is specified.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-29 08:27:19 +01:00
Mans Rullgard
4852cb37ce
fate: fix dependencies for non-SAMPLES avconv tests
...
The encode/decode tests should all depend on avconv. Since
avconv requires libavfilter, there is no need to enable those
tests selectively.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-20 12:54:31 +01:00
Mans Rullgard
63dcd16d56
fate: fix dependencies on SAMPLES being set
...
This allows fate to run without errors with or without SAMPLES
being set.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-19 14:30:41 +01:00
Mans Rullgard
f7c2dca0d9
fate: improve dependencies
...
This makes only tests actually using avconv depend on it.
The remaining tests already depend on what they need.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-09 14:13:34 +01:00
Mans Rullgard
d57b43df2e
fate: fix dependencies for probe tests
...
Only the probe tests should depend on avprobe and these should
be enabled only if avprobe is configured.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-09 13:48:58 +01:00
Alex Converse
6345209a7d
fate: Add avprobe as a make dependency
2012-05-07 11:00:54 -07:00
Ronald S. Bultje
4bfa67bdad
Add probe fate tests to test for regressions in detecting media types.
...
Signed-off-by: Alex Converse <alex.converse@gmail.com>
2012-05-07 10:14:51 -07:00
Diego Biurrun
f0ccd53a3b
tests: Refactor rotozoom/videogen common code into a separate file.
2012-05-05 17:11:06 +02:00
Justin Ruggles
a6c8cca2a8
FATE: replace current g722 encoding tests with an encode/decode test
...
Avoids resampling and channel mixing. This only tests the behavior
with respect to input and output audio rather than also testing changes
to the encoder or muxer that do not affect the resulting decoded output.
2012-04-20 10:23:57 -04:00
Justin Ruggles
870165e217
FATE: add a pattern rule for generating asynth wav files
2012-04-20 10:23:57 -04:00
Ronald S. Bultje
7756859a31
fate: add BMP tests.
2012-04-04 11:16:23 -07:00
Justin Ruggles
cffd7580bb
FATE: allow a tolerance in the size comparison in do_tiny_psnr()
...
This will allow for comparing decoded output to the original source when the
decoded size is not exactly the same as the original size.
2012-03-15 14:40:31 -04:00
Justin Ruggles
bb6842966e
FATE: use absolute difference from a target value in do_tiny_psnr()
...
This will allow comparison to original pre-encoded content instead of
comparing to expected decoded output.
2012-03-15 14:40:31 -04:00
Justin Ruggles
5ecadc6620
FATE: allow tests to set CMP_SHIFT to pass to tiny_psnr
...
This will allow adjusting for any encoder or decoder delay when doing
comparisons.
2012-03-15 14:40:24 -04:00
Anton Khirnov
018f39ef49
FATE: add CPUFLAGS variable, mapping to -cpuflags avconv option.
2012-03-06 15:03:36 +01:00
Derek Buitenhuis
273f4b39fc
fate: Overhaul WavPack coverage
...
WavPack has a comprehensive test suite, and a bunch
of corner cases.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2012-02-27 09:40:36 -08:00
Paul B Mahol
159a2436b0
fate: add tests for cdxl video
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
2012-02-25 00:18:24 -05:00
Diego Biurrun
e9ba6b3704
build: Use order-only prerequisites for creating FATE reference file dirs.
2012-01-30 13:00:35 +01:00
Diego Biurrun
2df5f59ad0
fate: split ADPCM and DPCM test references into separate files.
2012-01-15 22:00:12 +01:00
Oana Stratulat
febd022228
FATE: add tests for dfa
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
2011-12-31 15:06:31 -05:00
Diego Biurrun
628637f67b
fate: split off video codec FATE tests into their own file
2011-12-30 22:18:14 +01:00
Diego Biurrun
ab2d11f75b
fate: split off audio codec FATE tests into their own file
2011-12-30 22:18:13 +01:00
Diego Biurrun
394f0b18bf
fate: split off Electronic Arts codec FATE tests into their own file
2011-12-30 22:18:12 +01:00
Diego Biurrun
f6ba1f2641
fate: split off QuickTime codec FATE tests into their own file
2011-12-30 22:18:11 +01:00
Diego Biurrun
51150cf070
fate: split off voice codec FATE tests into their own file
2011-12-30 22:18:10 +01:00