Mans Rullgard
a56fba502e
fate: make compare() function compatible with POSIX bc
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
b1740cb00a
fate: fix enc_dec_pcm tests with remote target
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Justin Ruggles
90e5b58a53
FATE: add capability for audio encode/decode tests with fuzzy psnr comparison
...
This allows for testing floating-point audio encoders across different
platforms where exact comparisons are unreliable due to float rounding
differences.
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
Justin Ruggles
0720d263ea
FATE: use $fuzz directly in do_tiny_psnr() instead of passing it around
13 years ago
Anton Khirnov
018f39ef49
FATE: add CPUFLAGS variable, mapping to -cpuflags avconv option.
13 years ago
Reimar Döffinger
f23a740303
Add muxer test based on stream-copy from FATE sample.
...
This should test muxing Theora into Ogg.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Clément Bœsch
3d38a7260b
fate: give stderr hint when a test fails.
13 years ago
Mans Rullgard
0836d48a16
fate: run avconv with -nostats flag
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
dec4b4705f
fate: use 'run' helper for seek-test
...
This is simpler, and the actual seek-test command is printed with V=1.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Anton Khirnov
bc5acfa7af
fate: use +frame+slice named constants instead of '3'
13 years ago
Michael Niedermayer
091a24b75f
fate: more cases of avconv that should be conditional
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6322bc0b90
fate: some shells parse $11 as ${1}1
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6ae356c9a0
fate: allow specifying the tool to use for fate (avconv / ffmpeg)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
6291d7e416
Make a copy of ffmpeg under a new name -- avconv.
...
It will be further developed with a few incompatible changes.
ffmpeg.c will stay as is for some time, so any scripts using it won't be
broken.
13 years ago
Diego Biurrun
191c5f8ff3
build: move tests/seek_test.c to libavformat and reuse generic build rules
14 years ago
Mans Rullgard
84757de0f5
fate: add 'null' comparison method
...
Setting CMP=null uses stdout from the test as the diff record in
the report without further inspection. This can be useful when
the exit status of the test itself determines success while the
output is informative.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
ea57502c82
fate: remove output redirections from old regtest scripts
...
All tests are run through the fate-run.sh script which already
sets up redirections. Using the outputs set there simplifies
things somewhat.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Ronald S. Bultje
3283f274fd
FATE: allow forcing thread-type when doing threaded fate runs.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Luca Barbato
7851eb68c6
fate: add support for multithread testing
...
Add a THREADS variable to fate calls.
14 years ago
Måns Rullgård
c4795e8069
fate: print commands being executed with V=1
...
Originally committed as revision 25161 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
078ae66b4b
fate: set LC_ALL=C to avoid locale interference
...
Originally committed as revision 24889 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
b42c483f07
fate-run: use 'run' function in 'ffmpeg' function
...
Originally committed as revision 24837 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
91de2c0a73
fate: add -v 0 to ffmpeg flags
...
Originally committed as revision 24836 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
dff1fc51b2
fate-run: add helper to run things on target
...
Originally committed as revision 24694 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
61a187b081
fate: fix non-standard use of bc
...
Originally committed as revision 24651 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
5b60c29339
fate: fix signal name translation
...
Originally committed as revision 24650 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
4e705a6806
fate: translate exit status to signal name
...
Originally committed as revision 24623 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
b82be63688
fate: create report files
...
Originally committed as revision 24529 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
8fae6e7c11
Unbreak parallel lavfi testing
...
Originally committed as revision 24485 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
157c924176
fate: delete useless artifacts after running each test
...
Originally committed as revision 24395 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
bcb0a1546d
fate: keep stderr from failing tests
...
Originally committed as revision 24394 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
ffe72624e7
fate: run diff even if command fails
...
The diff may provide useful information even if the command was
unsuccessful. The test is still treated as failed in this case.
Originally committed as revision 24353 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
9a3f31efcb
fate: allow running regtests through fate frontend
...
Originally committed as revision 24347 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
cdaf4b79bb
fate: simplify test runner slightly
...
All tests use the provided helper functions so prepending $target_exec
and using eval is no longer required.
Originally committed as revision 24317 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
2b18c451bd
fate: add some helper functions to simplify test rules
...
Originally committed as revision 24314 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
f0388cf716
fate: apply TARGET_EXEC only to commands starting with absolute path
...
Originally committed as revision 24313 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
d2f33c8021
fate: use our variable names in test rules imported from Mike's db
...
Originally committed as revision 24312 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
122a9af76b
fate-run: rename some variables consistently with other files
...
Originally committed as revision 24311 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
e153cfa867
fate: add stddev comparator
...
This allows CMP=stddev in test rules. The test passes if the reported
stddev is <= the FUZZ value (default 1).
Originally committed as revision 24289 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
26e87a2261
fate: whitespace cosmetics
...
Originally committed as revision 24288 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
83b203dc94
fate: ensure file sizes match in oneoff tests
...
Originally committed as revision 24164 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
150ef830f5
fate: fail with a sensible error message if reference file is missing
...
Originally committed as revision 24152 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
7d610af6f2
fate: delete output files from successful tests
...
Originally committed as revision 24150 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
58d2b15447
fate: exit with error immediately if test command fails
...
Originally committed as revision 24147 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago