Martijn van Beurden
a8c20a6af1
Let --keep-foreign-metadata on decode pick the right decode format
2023-02-17 11:06:46 +01:00
Martijn van Beurden
10d7ce268b
Bulk update copyright dates to 2022
2022-07-26 16:23:07 +02:00
Martijn van Beurden
1bb80c18da
Small make distcheck fixes
2022-05-27 21:59:32 +02:00
Rosen Penev
2b4ba6013e
tests: Run through shellcheck ( #134 )
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-05-18 21:27:19 +02:00
Martijn van Beurden
61649d09aa
Add checks for decoding from and encoding to UTF-8 filenames
2022-05-12 22:21:39 +02:00
Martijn van Beurden
d9554fb7c9
Add --limit-min-bitrate to flac and add test for it
2022-05-02 07:59:01 +02:00
Martijn van Beurden
7385dac383
Fix overflow of streaminfo total samples (github issue 237)
...
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>
2022-04-19 17:45:22 +02:00
Erik de Castro Lopo
1146117229
test: Ignore varying length in metadata
...
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".
2019-07-15 09:42:38 +10:00
orbea
452a447778
Add output-prefix tests
...
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2018-06-11 09:57:21 +10:00
Erik de Castro Lopo
e64ac79798
Makefile.lite: Fix running of tests
...
* Generate `test/common.sh` from `test/common.sh.in`.
* Move `is_win` setting to `test_common.sh`.
2016-12-21 20:49:52 +11:00
Erik de Castro Lopo
6a5fe43b7e
Bulk update copyright dates
2016-12-05 06:35:39 +11:00
Erik de Castro Lopo
efaab3c822
test/ : Use more portable echo constructs
...
Fix suggested by Daniel Macks.
Closes: https://sourceforge.net/p/flac/bugs/433/
2015-10-04 09:43:38 +11:00
Erik de Castro Lopo
084bb72f78
test_flac.sh: Test unsigned as well as signed
2015-09-07 15:21:47 +10:00
Erik de Castro Lopo
1ddeb2640e
test/test_flac.sh : Make it work for 'make distcheck'.
...
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.
2015-02-24 18:32:07 +11:00
Erik de Castro Lopo
d8036ea9d6
test/test_flac.sh : Out-of-tree build fixes.
2015-02-15 20:37:40 +11:00
Erik de Castro Lopo
bb2abeaf10
test/test_flac.sh : Silence increased encoding size warnings.
...
These warning are supposed to occur for files with noise-like
characteristics and some of the tests use files containing noise.
2015-02-15 16:48:46 +11:00
Erik de Castro Lopo
1a7c3fa488
tests/*.sh : Switch back to /bin/sh.
...
Jan Stary reported that on OpenBSD bash isn't located in /bin/
which means that the test fail. He also noted that there didn't
seem to be anything bash specific in the tests.
This patch takes some suggestions from Jan, plus a few fixes tested
on Debian using the bin/sh provided by bash and dash.
Suggested-by: Jan Stary <hans@stare.cz>
2014-11-27 13:12:17 +11:00
Erik de Castro Lopo
1437391577
Update copyright years to include 2014.
2014-11-25 13:04:30 +11:00
Erik de Castro Lopo
879a0ce2a5
test/test_flac.sh : Add --force-raw-format as needed.
...
Patch-from: lvqcl <lvqcl.mail@gmail.com>
2014-07-13 20:38:59 +10:00
Erik de Castro Lopo
a9712a2279
Factor out common test functionality to test/common.sh.in.
2013-09-17 06:14:57 +10:00
Erik de Castro Lopo
1d3d50a918
Switch test scripts to bash.
2013-09-17 06:14:54 +10:00
Erik de Castro Lopo
d06d985487
test/ : Use new --no-error-on-compression-fail option as needed.
2013-08-01 23:02:26 +10:00
Erik de Castro Lopo
c7957b2b54
test/*.sh : Fix MALLOC_PERTURB initialization.
...
Was using '$(date +%N)', but that doesn't work on OSX or *BSD. Switched
to using '$(date +%s)'.
2013-05-27 19:23:42 +10:00
Ulrich Klauer
cd4ddabe0f
Language fix: "difference licenses"
...
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-05-27 18:08:57 +10:00
Erik de Castro Lopo
b1982fbc5f
Set version to 1.3.0 and update coyprights throughout.
2013-05-26 19:17:53 +10:00
Erik de Castro Lopo
4f24161246
Replace usage of $RANDOM in test scripts.
...
$RANDOM seems to be a bashism and isn't avaiable in eg dash.
2013-04-25 12:31:58 +10:00
Martijn van Beurden
f6585b0bdc
Reduce valgrind num-callers to 50
...
My Valgrind doesn't run, saying it doesn't support showing more
than 50 entries of a stack trace
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-04-22 17:43:01 +10:00
Erik de Castro Lopo
85d5c53803
Fix all Makefile.lite to use /objs/ directory instead of /obj/ directory.
2013-01-02 22:49:37 +11:00
Cristian Rodríguez
95f0f75477
export MALLOC_PERTURB_ and MALLOC_CHECK_ in test suite
...
That enables an special implementation that checks
for common memory errors and will save us from a lot pain.
2012-04-19 04:54:01 +10:00
Josh Coalson
dea0f5a044
add 2009 copyright
2009-01-07 07:31:28 +00:00
Josh Coalson
d75a07c968
fix bug with fractional seconds on some locales (SF#1815517: https://sourceforge.net/tracker2/?func=detail&aid=1815517&group_id=13478&atid=113478 )
2009-01-03 01:50:46 +00:00
Josh Coalson
d7f5344a64
add support for Wave64 (SF#1769582: https://sourceforge.net/tracker/index.php?func=detail&aid=1769582&group_id=13478&atid=113478 )
2008-09-09 07:49:19 +00:00
Josh Coalson
7617cacb28
add support for RF64
2008-09-09 07:24:23 +00:00
Josh Coalson
3b938ac124
don't use filenames with colons to avoid problems on cygwin
2008-06-03 06:33:44 +00:00
Josh Coalson
82b128050e
update copyright for 2008
2008-02-28 05:34:21 +00:00
Josh Coalson
12d3a41896
change default extension for ogg flac from .ogg to .oga (SF#1762492: http://sourceforge.net/tracker/index.php?func=detail&aid=1762492&group_id=13478&atid=113478 )
2007-08-01 03:02:00 +00:00
Josh Coalson
89f01a8019
switch from --logfile-fd= to --log-fd= to match newer valgrind options
2007-06-20 01:26:29 +00:00
Josh Coalson
a502353da2
minor comments
2007-02-04 04:28:37 +00:00
Josh Coalson
e74bd9516c
add 2007 copyright
2007-02-02 06:58:19 +00:00
Josh Coalson
8ebb95cda0
add logging of command to valgrind log
2006-11-20 05:29:59 +00:00
Josh Coalson
2b29546bb4
fix typo
2006-11-17 07:26:39 +00:00
Josh Coalson
5ebd693265
encode with --no-padding where possible to speed up test
2006-11-17 06:03:18 +00:00
Josh Coalson
acc4bea300
add tests for different fractional end blocks with different blocksizes
2006-11-09 16:53:15 +00:00
Josh Coalson
1d42ba6423
add tests for fractional blocks
2006-11-08 16:25:55 +00:00
Josh Coalson
c28efe2294
add support from encoding from ogg flac input
2006-11-04 03:04:21 +00:00
Josh Coalson
8da98c897b
merge libOggFLAC into libFLAC and libOggFLAC++ into FLAC++; documentation still needs work
2006-10-15 04:24:05 +00:00
Josh Coalson
8def87a3e2
expand round-trip tests to include odd bits per sample (all 4<=bps<=24)
2006-10-07 01:20:38 +00:00
Josh Coalson
cc5c1d8837
complete WAVEFORMATEXTENSIBLE support, multichannel assignments in format and documentation, multichannel support for AIFF and WAVE, channel mapping, new --channel-map=none option to flac, saving and restoring of WAVEFORMATEXTENSIBLE channel mask to/from tag, robust handling of "odd" sample resolutions (i.e. not multiple of 8 bits) for AIFF and WAVE
2006-10-06 05:31:27 +00:00
Josh Coalson
c0da196166
minor comments
2006-09-16 00:07:20 +00:00
Josh Coalson
bfda3788d5
add support for encoding from FLAC to FLAC while preserving metadata
2006-08-28 03:42:10 +00:00