regtest: separate flags for encoding and decoding
This separates encoding and decoding flags, and passes them togetherwith the related file argument instead of all at the start of thecommand line.
Signed-off-by: Mans Rullgard <email@example.com>
regtest: simplify encoding functions
The video encoding options were needlessly split in two parameterswhich are merged. The do_audio_encoding function did not use itssecond argument, so this can be removed.
fate: simplify regression-funcs.sh
Factor ffmpeg calls using run_ffmpeg()
fate: add support for multithread testing
Add a THREADS variable to fate calls.
fate: make lavfi tests output only md5
Instead of saving huge raw files, use the md5: output pseudo-protocolto calculate the checksum of the file directly. This is especiallyuseful when testing on remote targets as it avoids transferring 3.6GBover the network.
fate: print commands being executed with V=1
Originally committed as revision 25161 to svn://svn.ffmpeg.org/ffmpeg/trunk
regtest: simplify cleanup after each test
Originally committed as revision 24396 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change names of regtest output files to closer match the reference files
Originally committed as revision 24127 to svn://svn.ffmpeg.org/ffmpeg/trunk
regtest: move md5sum wrappers into separate file
ffserver-regression.sh doesn't need anything else fromregression-funcs.sh, and sourcing the entire file therebreaks things.
Originally committed as revision 22304 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove unused argument to test scripts
Originally committed as revision 22156 to svn://svn.ffmpeg.org/ffmpeg/trunk
Place regression test output files in subdirs per family
Originally committed as revision 22155 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use stripped executable in regression tests
Originally committed as revision 21870 to svn://svn.ffmpeg.org/ffmpeg/trunk
Separate audio-only tests so they are only run once
Originally committed as revision 21556 to svn://svn.ffmpeg.org/ffmpeg/trunk
regtest: suppress console output from tests
This disables all console output from the *-regression.sh scripts bydefault. If the V environment variable is set to 1, ffmpeg commandsare printed before being run. If V is greater than 1, ffmpeg outputgoes to the console, otherwise stderr is redirected to a file....
Replace ` ` syntax by $( ) in regression test shell scripts.The latter syntax variant is more readable and easier to nest.
Originally committed as revision 20924 to svn://svn.ffmpeg.org/ffmpeg/trunk
Split codec-regression.sh, put all the code which can be shared byother regression test scripts in the regression-funcs.sh file.
Originally committed as revision 20359 to svn://svn.ffmpeg.org/ffmpeg/trunk