summaryrefslogtreecommitdiff
path: root/tests/fate-run.sh
Commit message (Collapse)AuthorAge
* tests/fate-run: Use DEC_OPTS for additional input, tooAndreas Rheinhardt2021-10-08
| | | | | | Should fix failures in the cover-art-flac-remux test. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests/fate-run: Allow multiple inputs for transcode()Andreas Rheinhardt2021-10-07
| | | | | | | This allows nicer tests by having a greater range of inputs available (without requiring adding further samples to the fate-suite). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests/fate-run: Set bitexact flag for output, tooAndreas Rheinhardt2021-10-07
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* FATE: allow multithreaded filteringAnton Khirnov2021-08-29
|
* ffprobe: remove references to frame->pkt_ptsJames Almer2021-08-07
| | | | | | The field was removed during the last major bump. Signed-off-by: James Almer <jamrial@gmail.com>
* fate-run.sh: print stream side data in probeaudiostream()Anton Khirnov2021-05-09
| | | | Adds a test for reading AUDIO_SERVICE_TYPE in fate-hls-fmp4_ac3
* fate-oggopus-demux: convert to ffprobeAnton Khirnov2021-05-09
| | | | It can print side data cleanly.
* tests/fate-run.sh: Don't overlook errors from md5 testsAndreas Rheinhardt2021-02-16
| | | | | | | | | | | The md5 test up until now ignored errors from ffmpeg (the cli) and just md5'ed whatever ffmpeg has output; while testing scenarios in which ffmpeg fails has its merits, errors should not be overlooked by default; doing so also reduces the effectiveness of sanitizers as errors from them are ignored. This has happened with a memleak in the AV1 decoder. Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* tests/fate-run: Always overwrite output files for md5 testsAndreas Rheinhardt2020-09-27
| | | | | | | | Otherwise the result of such tests will not accurately reflect the current state. Reviewed-by: Jan Ekström <jeebjp@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* fate: disable automatic conversions on many tests.Nicolas George2020-09-08
| | | | | | | | | | Explicitly insert the scale or aresample filter where it would have been inserted by the negotiation. Re-enable conversions if it cannot be done easily. If a conversion is needed in a test, we want to know about it. If the negotiation changes and makes new conversion necessary, we want to know about it even more.
* fate: remove "-v 0" from ffprobe tests.Nicolas George2020-08-24
|
* tests/fate/hlsenc: add testcase of ac3 surround sound input in hlsencSteven Liu2020-07-07
| | | | | | | add probeaudiostream for get audio stream's codec_name,codec_time_base, sample_fmt,channels and channel_layout. Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* fate: add tests for h264 and vp9 video enc parameters exportAnton Khirnov2020-05-25
|
* fate: Allow to test temporary files with ffprobeAndreas Rheinhardt2020-04-19
| | | | | | | | | This is primarily intended to test that muxers correctly write chapters or metadata; but given that it does this by having our demuxers read the generated files, it also tests demuxers. And of course it may prove useful for encoders, too. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* fate: Don't use depreceated keepside optionAndreas Rheinhardt2020-01-10
| | | | | | | | | The tests for concat use this option which is scheduled for removal and does nothing any more. So remove it; otherwise, these tests would fail at the next major version bump. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* fate: Fix use of target_path/target_samplesMartin Storsjö2019-12-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* tests: Fix bash errors in lavf_container tests.Andrey Semashev2019-09-09
| | | | | | | | | | | | | Because the lavf_container is sometimes called with only 2 arguments, fate tests produce bash errors like this: tests/fate-run.sh: 299: test: =: unexpected operator This commit fixes this. Reviewed-by: Limin Wang <lance.lmwang@gmail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/fate-run: New variable hostexecsuf for local fate tools.Carl Eugen Hoyos2019-04-24
| | | | Allows running fate in-tree on wsl with msvc.
* tests: Add EXESUF to program calls.Carl Eugen Hoyos2019-04-19
| | | | Fixes fate in Windows subsystem for Linux.
* fate: unbreak fate with custom binary namesGyan Doshi2019-04-03
|
* tests/fate-run: fix regression in encoding optionsJames Almer2019-03-19
| | | | | | | | Set threads back to 1. Fixes fate when run in multi threaded mode. Regression since d0c43e32427ec1efac364be0987a6aafa695527f. Signed-off-by: James Almer <jamrial@gmail.com>
* fate/lavf-image: fix passed arguments for some high bit depth testsJames Almer2019-03-14
| | | | | | Should fix fate failures on big endian targets. Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b'James Almer2019-03-14
|\ | | | | | | | | | | | | * commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b': tests: Add a convenience function for video-only lavf tests Merged-by: James Almer <jamrial@gmail.com>
| * tests: Add a convenience function for video-only lavf testsDiego Biurrun2019-02-16
| | | | | | | | | | Rename a test in the process for consistency and simplicity and remove the remnants of the now-unused lavf regression test scripts.
* | tests: Convert lavf container tests with samples to non-legacy test scriptsJames Almer2019-03-14
| |
* | Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c'James Almer2019-03-14
|\| | | | | | | | | | | | | * commit '618d02c1fa9e74d490cace64a7d15762656b521c': tests: Convert lavf container tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
| * tests: Convert lavf container tests to non-legacy test scriptsDiego Biurrun2019-02-16
| | | | | | | | Rename some tests in the process for consistency and simplicity.
* | Merge commit '896fe15dbb7b78de495c4a7dd75e7faec66778da'James Almer2019-03-14
|\| | | | | | | | | | | | | * commit '896fe15dbb7b78de495c4a7dd75e7faec66778da': tests: Convert lavf pixfmt conversion tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
| * tests: Convert lavf pixfmt conversion tests to non-legacy test scriptsDiego Biurrun2019-02-16
| | | | | | | | Also split monolithic lavf-pixfmt test into individual tests.
* | Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40'James Almer2019-03-14
|\| | | | | | | | | | | | | * commit 'a957e9379d11f2982d615f92c30580a57ea8bb40': tests: Convert lavf image tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
| * tests: Convert lavf image tests to non-legacy test scriptsDiego Biurrun2019-02-16
| | | | | | | | Rename some tests in the process for consistency and simplicity.
* | Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c'James Almer2019-03-14
|\| | | | | | | | | | | | | * commit 'eb8a8115994434b548523cf0bca6a4a74784e79c': tests: Convert audio-only lavf tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
| * tests: Convert audio-only lavf tests to non-legacy test scriptsDiego Biurrun2019-02-16
| | | | | | | | Rename some tests in the process for consistency and simplicity.
* | Merge commit 'a70eac7a9b193e8434b5bed90bd72aa4cb688363'James Almer2019-03-14
|\| | | | | | | | | | | | | * commit 'a70eac7a9b193e8434b5bed90bd72aa4cb688363': tests: Convert image2pipe tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
| * tests: Convert image2pipe tests to non-legacy test scriptsDiego Biurrun2019-02-16
| |
| * tests: Drop duplicate variable declarationDiego Biurrun2019-02-16
| |
* | Merge commit 'e22ffb3805f6994bd1fd7ab73e6297f36a53f915'James Almer2019-03-10
|\| | | | | | | | | | | | | * commit 'e22ffb3805f6994bd1fd7ab73e6297f36a53f915': tests: Unify output directory creation Merged-by: James Almer <jamrial@gmail.com>
| * tests: Unify output directory creationDiego Biurrun2019-02-16
| |
* | fate: allow temp files for passed test to be keptGyan Doshi2018-07-10
| | | | | | | | | | | | | | | | Set make variable KEEP to non-zero value to preserve temp files when a test has passed. Helpful in diagnosing failed tests when test outfile is some type of single hash and does not reveal differences in processed output.
* | fate/mpegps: add tests for PCM_DVD stream remuxGyan Doshi2018-02-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: add id3v2 testRichard Shaffer2018-02-02
| | | | | | | | | | | | Adds basic unit test for parsing ID3v2 tags. Signed-off-by: James Almer <jamrial@gmail.com>
* | tests/fate-run: Use -bitexactMichael Niedermayer2017-11-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: add missing closing bracketJames Almer2017-10-11
| | | | | | | | | | | | Regression since 85e2fe6281834ac7f16a12a332d9de4b2ec3cd29 Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit 'db869f4ea4405fb8f9736e5ecdca70f77621a28e'James Almer2017-10-11
|\| | | | | | | | | | | | | * commit 'db869f4ea4405fb8f9736e5ecdca70f77621a28e': fate: Add build-only targets to FATE Merged-by: James Almer <jamrial@gmail.com>
| * fate: Add build-only targets to FATEDiego Biurrun2017-03-01
| |
* | Merge commit '698ac8f9cabd053f2c19346a77b92f8eae4218fc'James Almer2017-10-03
|\| | | | | | | | | | | | | * commit '698ac8f9cabd053f2c19346a77b92f8eae4218fc': fate: Make null comparison method more useful Merged-by: James Almer <jamrial@gmail.com>
| * fate: Make null comparison method more usefulDiego Biurrun2017-02-27
| | | | | | | | This allows dropping /dev/null as reference value when no output is generated.
| * Use modern avconv syntax for codec selection in documentation and testsDiego Biurrun2017-02-27
| |
* | fate: add tests for psnr and ssim filterTobias Rapp2017-09-27
| | | | | | | | | | | | | | | | Metadata filter output is passed through an Awk script comparing floats against reference values with specified "fuzz" tolerance to account for architectural differences (e.g. x86-32 vs. x86-64). Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* | fate: use do_md5sum instead of the md5 protocol for most md5 fate testsMarton Balint2017-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | | The md5 protocol has no seek support, but some tests use seeks. This changes the fate tests to actually create the output files and calculate the md5 on the written files, which also makes the tests independent of the size of the output buffers and output buffering in general. A new md5pipe fate test method is also introduced to keep the old functionality for tests where using a non-seekable output was intentional, and matroska md5 tests are changed to use that. Signed-off-by: Marton Balint <cus@passwd.hu>