Timothy Gu
b0669e7ccf
fate/concatdec: Use -bitexact
...
Fixes FATE failures on --enable-small builds.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Timothy Gu
04deaef293
fate-run: Fix indentation
9 years ago
Marton Balint
bcac6416b8
fate: fix concat demuxer extended test portability
...
Sed \r is not portable, it does not work on freebsd, hopefully tr -d will.
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
c9944f7596
fate: fix concat demuxer extended tests on windows
...
Line endings do matter to md5sum...
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
9bd4f26b55
fate: fix concat demuxer tests on msys/cygwin by using relative paths
...
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
a01046c90c
fate: add concat demuxer tests
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Michael Niedermayer
66d3666803
tests/fate-run: Remove ./ from run ffmpeg call
...
This makes it consistent with ffprobe
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
58b19b6f63
tests/fate-run: Remove PROGSUF from function calls
...
Fixes make fate V=2
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Christophe Gisquet
42c1dcde68
fate: use PROGSSUF
...
May require exporting in the shell var PROGSUF when invoking a
shell script.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
ed18c49f5f
fate: Add basic license header check
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
3cb85ad445
tests/fate-run: Pass bitexact flags to enc_dec_pcm() output
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Andreas Cadhalpun
c64060d56a
fate: add -fflags +bitexact to the relevant targets
...
This fixes fate with FF_API_LAVF_BITEXACT disabled.
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
9 years ago
Ganesh Ajjanagadde
36e17d994e
tests/fate-run: make FATE non-interactive
...
FATE is non-interactive; it should not listen to user commands
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
This should fix leaving the terminal in a messed up state with
zsh in case of crashes during fate
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
37efad4e5b
fate: Test pullup and fieldmatch with 5 instead of 1 frame
...
Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Luca Barbato
2fb02ecfd1
fate: Reduce the number of frames used to test video filters
...
Use 5 frames for video filter tests and a single one for the
pixelformat tests.
Greatly reduces the test duration without reducing coverage.
10 years ago
Michael Niedermayer
c0d847e457
tests/fate-run: do not attempt to parse tiny_psnrs output if it failed
...
This avoids confusing syntax errors with awk later
Likely fixes awk errors at:
http://buildd.debian-ports.org/status/fetch.php?pkg=ffmpeg&arch=sparc64&ver=7%3A2.6.2-1&stamp=1428928967
Reviewed-by: Timothy Gu <timothygu99@gmail.com>
Thanks-to: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> for the link
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Timothy Gu
358b7ec309
fate: Fix test name for pixfmts tests
...
The last pixel format gets leaked as `$test` further down the pipeline.
See for example https://fate.libav.org/x86_32-netbsd-clang-no-inline-asm/20150420020104
Note the odd test names like “yuvj444p.”
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
wm4
1e2e22ec61
fate: gapless: fix mp3 tests
...
Seeking to a negative time did not have the desired effect of seeking to
the next valid position (the file start). On the other hand, just
"-ss 0" will normally seek to a position higher than 0, because it adds
the start time of the file. (The start time is not 0 because the gapless
code skips a few samples from the start.)
Fix this by using the "-seek_timestamp 1" option, which makes "-ss 0" do
what you'd expect it would do.
Also put the -ss option at the right place, before -i. This actually
makes it seek, instead of something completely else. The ".out-3" test
is no different in the -usetoc 0/1 cases, because the seeking is
inaccurate (in both cases).
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Timothy Gu
3b1e35d46d
fate: Omit the results if the test passed
...
The FATE server does not report this information anyway and omitting
it makes the successful run send much less data.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
wm4
49d5c24aa1
fate: gapless: test seeking to a specific position
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
wm4
2a0aa318f8
fate: gapless: fix a typo in comment
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
wm4
8297d87eec
fate: add mp3 gapless test
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Timothy Gu
1a562adb01
tests: Do not include stdout/stderr or diff if the test passed
...
FATE currently discards this information anyway, so why waste the
disk space?
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Anton Khirnov
96a06dbaf2
FATE: add support for testing hwaccels
10 years ago
Claudio Freire
374ec68139
tests/fate-run: Print more details on failure of stddev / filesize compares
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Clément Bœsch
a982c5d74f
tests: drop bc dependency
...
We already have a dependency on awk and bc is sometimes not found in the
base system.
Signed-off-by: Martin Storsjö <martin@martin.st>
10 years ago
Clément Bœsch
d47eeff274
tests: drop bc dependency
...
We already have a dependency on awk and bc is sometimes not found in the
base system.
10 years ago
Timothy Gu
e1ee0521a6
tests: Fix test name for pixfmts tests
10 years ago
Clément Bœsch
52b0a0ecaa
avcodec/ass: add FFmpeg signature
10 years ago
Clément Bœsch
d97d4795fd
fate: add rawdiff and use it for subtitles
...
We want subtitles tests to match exactly line endings and trailing
characters.
10 years ago
Clément Bœsch
8022bb1d92
fate: make subtitles tests output to stdout instead of md5
...
This makes tracking subtitles changes simpler.
10 years ago
Michael Niedermayer
00d3bb1a07
tests/fate-run.sh: Cat .err file in case of error with V>0
...
This may make fate failures where only the console output is available
easier to analyze
Suggested-by: Andreas Cadhalpun
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Diego Biurrun
706208ef47
fate: Split fate-pixdesc tests and dispatch them through Make
...
This allows running all the tests individually and/or in parallel.
11 years ago
Anton Khirnov
0c1959b056
lavf: add AVFMT_FLAG_BITEXACT.
...
Use it instead of checking CODEC_FLAG_BITEXACT in the first stream's
codec context.
Using codec options inside lavf is fragile and can easily break when the
muxing codec context is not the encoding context.
11 years ago
Michael Niedermayer
7efe83996c
tests/fate-run: add runecho command to run a test and display its output
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Carl Eugen Hoyos
bb97bcec6b
Fix TARGET_SAMPLES and TARGET_PATH for some fate tests.
...
This allows running more fate tests on remote targets
without the source tree.
11 years ago
Michael Niedermayer
3ce7c62e1b
avformat/framehash: add software version to framecrc/md5
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
5c4fc51d9b
Revert "fate: Force diff into text mode"
...
This should fix AIX and should no longer be needed
This reverts commit b78e75ebc9
.
11 years ago
Michael Niedermayer
b78e75ebc9
fate: Force diff into text mode
...
On openbsd the exif-image-jpg test fails but diff treats the files as
binary due to some non ascii symbols in them. This should force it to
treat them as text, which should result in more informative output
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Thilo Borgmann
78d2a781d0
fate: Add EXIF test.
12 years ago
Diego Biurrun
bd392785a7
fate-run: Drop unnecessary regtest() indirection
...
The indirection was used to abstract from the different -regression.sh
scripts. Now that only one remains, this indirection is pointless.
12 years ago
Clément Bœsch
24939d567b
fate/pixfmts: use the appropriate variable names for temporary files.
...
${1} is now the filter args and is inappropriate as a unique name for
the test (and causes some FATE issues because of the ':' in them).
${filter} is not used either to replace the ${1} because ${outfile}
already contains a unique name for the test.
12 years ago
Clément Bœsch
45734dea9e
fate: port remaining filters to new system.
...
Merge of b963f021b6
is now complete.
12 years ago
Clément Bœsch
93aede41ce
fate: move kerndeint test to the new system.
12 years ago
Clément Bœsch
1e0a0aafba
fate: port our pixfmts change to fate-run.sh.
...
This patch is the same as 52b23cbf1c
.
12 years ago
Diego Biurrun
b963f021b6
fate: Invoke pixfmts lavfi tests through fate-run.sh
12 years ago
Diego Biurrun
28663511c9
fate: Invoke pixdesc lavfi tests through fate-run.sh
12 years ago
Diego Biurrun
03b052c023
fate: Invoke standard lavfi tests through fate-run.sh
12 years ago
Michael Niedermayer
ee53777e70
fate: Print correct error message for reference generation too
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Luca Barbato
b01b60a29d
fate: add an option to generate the references
...
Useful to add or update fate tests.
12 years ago