summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Release FLAC 1.4.11.4.1Martijn van Beurden2022-09-221-1/+1
|
* Release FLAC 1.4.01.4.0Martijn van Beurden2022-09-091-1/+1
|
* Update ABI checkMartijn van Beurden2022-08-302-0/+0
|
* Add ABI check to CI Martijn van Beurden2022-08-224-0/+22
| | | | | This adds a dump of current ABIs (which will probably be released as 1.4.0) to the test directory, and adds a comparison to current ABIs to the distcheck
* Introduce subdivide_tukey apodizationMartijn van Beurden2022-08-191-0/+9
| | | | | | | | | | | | | | | Subdivide_tukey is intended to replace partial_tukey and punchout_tukey. It works in rougly the same way, but uses a more efficient algorithm, recyling more data. subdivide_tukey has 2 arguments, of which 1 is optional. The first states the maximum number of parts the signal has to be split up in, the second is the tukey parameter, divided by the max num of parts. subdivide_tukey(3) analyses audio with an unsplit block, with the block split in 2 and split in 3. Here the default p of 0.5 applies to the smallest parts, so the unsplit block effectively has a p of 0.5/3. subdivide_tukey(3/2e-1) does the same but with p of 0.2.
* Bulk update copyright dates to 2022Martijn van Beurden2022-07-2615-15/+15
|
* Add 32-bit files to testMartijn van Beurden2022-06-121-5/+5
|
* Remove Makefile.lite build systemMartijn van Beurden2022-05-272-57/+0
|
* Small make distcheck fixesMartijn van Beurden2022-05-272-1/+4
|
* tests: Run through shellcheck (#134)Rosen Penev2022-05-1810-81/+81
| | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* Add checks for decoding from and encoding to UTF-8 filenamesMartijn van Beurden2022-05-125-23/+75
|
* Add --limit-min-bitrate to flac and add test for itMartijn van Beurden2022-05-021-1/+19
|
* Rework error handling (#283)Martijn van Beurden2022-04-271-0/+65
| | | | | | This commit reworks the code decoding a frame, to add silence when frames are missing and output silence when something other than the frame header seems corrupted. Tests are added to the test suite for this functionality. Also, decoded values are checked to be within bps
* Add git commit tag, hash and date to vendor string when availableMartijn van Beurden2022-04-203-1/+10
| | | | | | | In some circles (Hydrogenaud.io for example) people share binaries compiled from git, i.e. inbetween official releases. Files created with these binaries cannot be discerned from others. To improve troubleshooting, compiles from a git repository are marked with the commit hash and date when configured with autotools or CMake
* Fix overflow of streaminfo total samples (github issue 237)Martijn van Beurden2022-04-191-0/+23
| | | | | | | | When writing a FLAC file with over 2^36 samples, the total samples entry in streaminfo will overflow and wrap around. Setting it to 0 (which means unknown number of samples) makes sure the decoder doesn't rely on this number Co-authored-by: Ralph Giles <giles@thaumas.net>
* [CMake] Enable testing through busyboxMartijn van Beurden2022-04-132-24/+33
| | | | | | | | | | | With this commit, it is possible to run the full test suite on Windows machines when busybox-w32 is installed. This program is available through chocolatey with 'choco install busybox' CMake tests for availability of busybox and use if available. As chocolatey is the preferred method of fetching software for Github actions, this commit paves the way for running the full test suite on Windows for CI
* cmake: Fix tests with BUILD_CXXLIBS or BUILD_PROGRAMS offSilent2022-04-131-9/+13
| | | | Fixes a regression introduced in 10797d58962dc13df5d4772322790754165a3c93
* Set release date for 1.3.4.Ralph Giles2022-02-201-1/+1
| | | | | | | This is a target date, but it's a nice round number if we're able to make it work. Signed-off-by: Ralph Giles <giles@thaumas.net>
* Change version to 1.3.4 and add placeholders for release dateMartijn van Beurden2022-02-201-1/+1
| | | | Signed-off-by: Ralph Giles <giles@thaumas.net>
* cmake: add some simple tests on windows platforms.Ralph Giles2021-07-111-3/+16
| | | | | | | | | | | | | | | The main test harnesses are written in unix shell script, so they don't work on windows. A stanza was added to the cmake config to skip all tests there to get a green build. This is misleading, since no testing was done at all on Windows. Instead, construct a separate set of tests on non-unix platforms, calling the two api test programs, which of necessity are compiled executables. Also invoke the two front-end programs with just the --help switch to verify they at least start. Thanks to Marcus Asteborg for the suggestion.
* Make sure CMake build files end up in release tarballErik de Castro Lopo2019-10-011-0/+1
|
* Version 1.3.31.3.3Erik de Castro Lopo2019-08-041-1/+1
|
* test: Ignore varying length in metadataErik de Castro Lopo2019-07-1580-540/+547
| | | | | The metadata test checked for specific lengths which change from 5 bytes for something like "1.3.2" to 9 bytes for something like "1.3.3pre1".
* Fixed #107: CMake error without enabling BUILD_CXXLIBSVitaliy Kirsanov2019-05-311-3/+4
|
* Added ECHO_C to CMake testsVitaliy Kirsanov2019-05-041-1/+4
|
* /test/*.sh enabled for CTest in UNIXVitaliy Kirsanov2019-05-041-0/+45
|
* Add output-prefix testsorbea2018-06-111-0/+37
| | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Fix miscellaneous typos.luz.paz2018-05-242-2/+2
| | | | Found via `codespell -q 3`
* flac: Use WAVEFORMATEXTENSIBLE when bps != (8|16)Erik de Castro Lopo2017-05-271-1/+1
| | | | | | | | When decoding to WAV, the legacy wFormatTag of WAVE_FORMAT_PCM should only be used if the bitwidth is 8 or 16. For all other bitwidths, use WAVEFORMATEXTENSIBLE. Two of the test programs/scripts also needed updating.
* Version 1.3.21.3.2Erik de Castro Lopo2017-01-011-1/+1
|
* test/test_metaflac.sh: Comment onlyErik de Castro Lopo2017-01-011-0/+1
|
* Makefile.lite: Fix running of testsErik de Castro Lopo2016-12-214-12/+8
| | | | | * Generate `test/common.sh` from `test/common.sh.in`. * Move `is_win` setting to `test_common.sh`.
* Another bulk update of copyright datesErik de Castro Lopo2016-12-051-1/+1
|
* Bulk update copyright datesErik de Castro Lopo2016-12-0515-15/+15
|
* test/Makefile.lite: Remove call to old scriptErik de Castro Lopo2016-05-131-1/+0
|
* Fix 'make distcheck' targetErik de Castro Lopo2016-04-271-1/+2
| | | | Last commit added a new file which was not added to `EXTRA_DIST`.
* cuesheet.c: Allow quotes around ISRC fieldErik de Castro Lopo2016-04-262-0/+7
| | | | | | | With this change, flac now accepts cuesheets where the ISRC field is enclosed in double quotes. Added a test for this as well. Closes: https://sourceforge.net/p/flac/bugs/436/
* test/: Remove two redundant scriptsErik de Castro Lopo2016-02-113-111/+0
| | | | | | | * test_bin.sh looks like it was a personal use script for the original developer Josh Coalson and referenced directories outside the actual repository. * test_wrapper.sh was trivial and un-used.
* test/ : Use more portable echo constructsErik de Castro Lopo2015-10-047-106/+106
| | | | | | Fix suggested by Daniel Macks. Closes: https://sourceforge.net/p/flac/bugs/433/
* test_flac.sh: Test unsigned as well as signedErik de Castro Lopo2015-09-071-2/+4
|
* test_streams.sh: Improve error messageErik de Castro Lopo2015-09-071-1/+1
|
* metaflac: add --scan-replay-gain optionBen Boeckel2015-08-142-0/+5
| | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* test/test_flac.sh : Make it work for 'make distcheck'.Erik de Castro Lopo2015-02-241-0/+2
| | | | | | An output file was being set to read only and hence could not be overwritten by a later test. Not sure why this only affected the 'make distcheck' target.
* Fix cursheet tests for 'make distcheck'.Erik de Castro Lopo2015-02-241-2/+3
|
* test/test_metaflac.sh : Out-of-tree build fixes.Erik de Castro Lopo2015-02-151-17/+17
|
* test/test_flac.sh : Out-of-tree build fixes.Erik de Castro Lopo2015-02-151-7/+7
|
* Update grabbag tests to work out-of-tree.Erik de Castro Lopo2015-02-151-9/+9
|
* test/test_flac.sh : Silence increased encoding size warnings.Erik de Castro Lopo2015-02-151-38/+38
| | | | | These warning are supposed to occur for files with noise-like characteristics and some of the tests use files containing noise.
* test/Makefile.am : Collapse 'fullcheck' into 'check' target.Erik de Castro Lopo2015-02-151-19/+4
|
* test/common.sh.in : Add top_builddir and top_srcdir variables.Erik de Castro Lopo2015-02-151-0/+5
| | | | | These are needed for running some of the tests when building out of tree.