Reinhard Tartler
95e8ac60f8
build: normalize coverage.info
...
Without this, lcov sometimes misses to normalize paths that contain "/./".
Also, ignore uninteresting hits in system headers.
12 years ago
Reinhard Tartler
768e44d044
build: tune down the output of lcov/gcov
...
In the default settings, both tools produce a lot of unhelpful noise.
12 years ago
Diego Biurrun
b963f021b6
fate: Invoke pixfmts lavfi tests through fate-run.sh
12 years ago
Diego Biurrun
a77aed142c
fate: Rename video filters file and add separate video filters target
12 years ago
Diego Biurrun
b357f1d1d3
fate: Split audio filters into their own separate file
12 years ago
Diego Biurrun
3eec1d41b4
fate: Reuse VREF and AREF variables where appropriate
12 years ago
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/
12 years ago
Luca Barbato
b01b60a29d
fate: add an option to generate the references
...
Useful to add or update fate tests.
12 years ago
Diego Biurrun
47e7fb8815
fate: Do not unconditionally run libavutil tests
...
Now that libavutil can be disabled, this should be conditional.
12 years ago
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>
12 years ago
Mans Rullgard
6f9018fc5e
fate: fix ENCMUX macro
...
This matches how it is actually being called.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Diego Biurrun
71f3eb4536
fate: cosmetics: Group idct8x8 test together with all other libavcodec tests
12 years ago
Diego Biurrun
8b8899ac32
fate: Declare avcodec/avformat deps in the respective Makefile snippets
12 years ago
Diego Biurrun
8860878291
fate: Introduce ENCMUX macro for tests that require encoders and a muxer
12 years ago
Mans Rullgard
eccd0671cc
fate: dependencies for demux tests
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
c0329748b0
fate: add a dependency helper macro
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
206a070dce
fate: list lavfi tests in a makefile
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
36ac9a16a1
fate: dependencies for seek tests
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
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>
12 years ago
Mans Rullgard
21fed588cb
fate: add macros useful for conditionally enabling things
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Martin Storsjö
7bc433b36d
fate: Add tests of the ff_make_absolute_url function
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Justin Ruggles
e981215944
FATE: add ALAC encoding tests
13 years ago
Mans Rullgard
b9d3c37848
build: use COMPILE template for HOSTOBJS
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Anton Khirnov
73cd131ebc
FATE: add a test for the asyncts audio filter.
13 years ago
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>
13 years ago
Anton Khirnov
bf2a7f9161
FATE: add a test for itunes cover art.
13 years ago
Mans Rullgard
983fa8bc46
fate: add flac encode/decode tests with various options
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Diego Biurrun
a488028362
build: Do not delete tests/vsynth2 directory, which is no longer created.
13 years ago
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>
13 years ago
Mans Rullgard
7263cd5544
fate: convert codec-regression.sh to makefile rules
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
47b5996bb0
fate: allow tests to specify unit size for psnr comparison
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
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>
13 years ago
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>
13 years ago
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>
13 years ago
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>
13 years ago
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>
13 years ago
Alex Converse
6345209a7d
fate: Add avprobe as a make dependency
13 years ago
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>
13 years ago
Diego Biurrun
f0ccd53a3b
tests: Refactor rotozoom/videogen common code into a separate file.
13 years ago
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.
13 years ago
Justin Ruggles
870165e217
FATE: add a pattern rule for generating asynth wav files
13 years ago
Ronald S. Bultje
7756859a31
fate: add BMP tests.
13 years ago
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.
13 years ago
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.
13 years ago
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.
13 years ago
Anton Khirnov
018f39ef49
FATE: add CPUFLAGS variable, mapping to -cpuflags avconv option.
13 years ago
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>
13 years ago
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>
13 years ago
Diego Biurrun
e9ba6b3704
build: Use order-only prerequisites for creating FATE reference file dirs.
13 years ago
Diego Biurrun
2df5f59ad0
fate: split ADPCM and DPCM test references into separate files.
13 years ago