Commit Graph

68 Commits

Author SHA1 Message Date
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
Erik de Castro Lopo
1366367d1f test/test_metaflac.sh: Comment only 2017-01-01 11:52:04 +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
Ben Boeckel
f7c52c8aa8 metaflac: add --scan-replay-gain option
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2015-08-14 06:21:26 +10:00
Erik de Castro Lopo
ed22a42bbe test/test_metaflac.sh : Out-of-tree build fixes. 2015-02-15 20:37:40 +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
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
b01e568698 Split regain play tests into separate script. 2013-08-02 06:19:56 +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
Martijn van Beurden
690205baf3 Add set -e to stop test_metaflac.sh
test_metaflac.sh wasn't aborting when replaygain values were
incorrect because the die() function was embedded in a pipe.
set -e was added so the script exits with a non-zero exit code
when die is called in a pipe.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-04-26 06:33:37 +10:00
Erik de Castro Lopo
69c44a51de test/test_metaflac.sh: POSIXify embedded awk script.
The embedded awk script was using the 'lshift' function which
apparently only exists in GNU auk (gawk) and definitely does not
exist in mawk.

Thanks to Martijn van Beurden <mvanb1@gmail.com> for reporting
this issue.
2013-04-25 14:17:22 +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
Erik de Castro Lopo
f20770e5d4 Add patch from Earl Chew <earl_chew@yahoo.com> that adds testing for
the replay gain calculations.
2012-03-19 07:44:11 +11:00
Erik de Castro Lopo
a606e1a7ef Renable metaflac tests disabled earlier because they were failing. 2012-02-04 14:13:45 +11:00
Erik de Castro Lopo
f3d4fb27e1 test/test_metaflac.sh : Disable failing tests. 2012-01-31 21:04:51 +11:00
Erik de Castro Lopo
0b06747a8f test/test_metaflac.sh : Bypass currently broken tests. 2012-01-31 20:13:54 +11:00
Josh Coalson
dea0f5a044 add 2009 copyright 2009-01-07 07:31:28 +00:00
Josh Coalson
82b128050e update copyright for 2008 2008-02-28 05:34:21 +00:00
Josh Coalson
412a03752e solaris 10 fixes (SF#1783225: https://sourceforge.net/tracker/index.php?func=detail&aid=1783225&group_id=13478&atid=113478) 2007-08-29 00:38:16 +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
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
aec8bb3435 rename metaflac's --import-picture to --import-picture-from for consistency with other options 2006-11-02 04:06:56 +00:00
Josh Coalson
989f26701d add --export-picture-to option to metaflac 2006-11-02 03:40:44 +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
a65fd93119 minor syntax 2006-10-03 01:02:44 +00:00
Josh Coalson
b02574eea6 add --import-picture command to metaflac 2006-09-26 00:43:48 +00:00
Josh Coalson
ff151cc781 switch metaflac test over to comparing output against "golden" files 2006-08-28 03:39:45 +00:00
Josh Coalson
de9091e4a7 add configure options --disable-thorough-tests which breaks up testing into 3 levels: 0 for basic testing, 1 for thorough testing, 2 for exhaustive testing 2006-05-25 02:48:22 +00:00
Josh Coalson
0395dac13f add 2206 to copyright notice 2006-04-25 06:59:33 +00:00
Josh Coalson
1be4415813 default to using current script as test file if there is no /bin/sh 2005-09-03 02:16:49 +00:00
Josh Coalson
83b8d28f9d add shorthand option --remove-replay-gain to metaflac 2005-08-31 00:30:41 +00:00
Josh Coalson
a78fac662c add 2005 to copyright notices 2005-01-25 04:17:55 +00:00
Josh Coalson
b43d3cbd9e fix PATH and LD_LIBRARY_PATH settings, pass build type as first arg to test scripts 2004-11-09 01:28:05 +00:00
Josh Coalson
0ceb4491da rename metaflac *-vc-* options to *-tag-* ones, only ones remain but deprecated 2004-09-08 00:55:16 +00:00
Josh Coalson
a7eecd05d8 fix "unknown metadata block" test to use ID 126 instead of the now-reserved 127 2004-07-24 00:03:45 +00:00
Josh Coalson
9564390fb9 update copyright to 2004 2004-01-17 04:14:43 +00:00
Josh Coalson
fb30b9e4ac add test of --add-replay-gain 2003-12-16 18:47:26 +00:00
Josh Coalson
e8a7601a4b change license verbiage 2003-02-07 00:14:32 +00:00
Josh Coalson
43bb14d1ad make immune to vendor string changes 2003-01-16 07:21:20 +00:00
Josh Coalson
ecf57b7514 minor syntax 2003-01-14 09:00:25 +00:00