Commit Graph

219 Commits

Author SHA1 Message Date
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 1988855b82 test_replaygain.sh : Add --force-raw-format option.
This test was failing due to the lack of this option.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
2014-07-08 21:12:18 +10:00
Erik de Castro Lopo 4bc4255f6c test/test_replaygain.sh : Update tests after work aroind for GCC bug.
Patch-from: lvqcl <lvqcl.mail@gmail.com>
2014-06-28 09:20:03 +10:00
Erik de Castro Lopo 2116df235c Remove un-needed code.
Patch-from: lvqcl <lvqcl.mail@gmail.com>
2014-06-28 09:08:50 +10:00
Martijn van Beurden 163b734010 Repairs test_grabbag.sh
The change from /bin/sh to /bin/bash -e (commit 1d3d50) broke
the cuesheet tests. This should fix it

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2014-03-14 15:32:39 +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 d6fa29071f test/test_seeking.sh : Fix detection of Ogg support. 2013-09-15 20:10:06 +10:00
Erik de Castro Lopo 5797009fa2 test/test_replaygain.sh : Prefer mawk over gawk.
The AWK script used to generate tones for this test fails with gawk
version 4.0.1, but used to work for earlier versions. Use mawk instead
if it exists.
2013-08-02 06:32:29 +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
Erik de Castro Lopo f2e10fa8ec test/test_compression.sh : Test compression level 0 as well. 2013-04-28 19:00:30 +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
Martijn van Beurden dec61cec91 Fixes setting test level and valgrind testing
This should enable using the disable-thorough-tests,
enable-exhaustive-tests and enable-valgrind-testing
configure switches, because setting these didn't do
anything

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-04-22 17:42:56 +10:00
Erik de Castro Lopo cd3162a2f6 test/test_compression.sh : Replace seq with numbers.
Apparently seq is a GNU program that isn't installed by default
on OpenBSD.
2013-03-09 19:40:19 +11:00
Erik de Castro Lopo 0432b96490 test/test_compression.sh : Use wc instead of stat to get file size.
The stat program has different command line parameters depend on
whether its the GNU or BSD version. Sitch to 'wc -c' instead which
seems more portable.
Plus other minor improvements.
2013-03-04 21:24:58 +11: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
Erik de Castro Lopo 1f0daccf2b Add a regresion test for compression levels. 2012-10-14 21:40:40 +11:00
Erik de Castro Lopo c5c4ce918f Tweak MALLOC_PERTURB_ expression in tests. 2012-04-19 06:31:11 +10: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 774e0776a5 Speed up the tests by testing slightly fewer combinations. 2012-02-26 12:19:39 +11:00
Erik de Castro Lopo efffc25c18 Fix 'make distcheck'.
This disables the tests that don't run correctly out-of-tree from
the 'make check' target. Also add a new 'make fullcheck' target
which is the full old test suite.
2012-02-07 18:41:28 +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 1ca541323b Fix 'make distcheck'. 2012-02-03 06:21:57 +11:00
Ralph Giles b2ef988135 Add test_wrapper.sh to the distribution.
Needed for 'make check'.
2012-02-02 17:32:58 +11:00
Erik de Castro Lopo e7fb2153b3 Add 'make fastcheck' target. 2012-02-01 22:00:08 +11:00
Erik de Castro Lopo 7b0d8f1027 Run all tests from one script which bails on the first failure. 2012-01-31 21:06:21 +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 c9ed238c3d Allow MM:SS:FF and MM:SS.SS time formats in non-CD-DA cuesheets (SF#1947353, SF#2182432: https://sourceforge.net/tracker2/?func=detail&aid=1947353&group_id=13478&atid=363478 https://sourceforge.net/tracker2/index.php?func=detail&aid=2182432&group_id=13478&atid=113478) 2009-01-07 07:03:17 +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 bbdb83d633 fix incorrect handling of block align 2008-09-13 19:29:27 +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 09b164bbe3 bump version number to 1.2.1 2007-09-14 00:11:52 +00:00
Josh Coalson 0f325b0786 replace CLEANFILES with clean-local: target 2007-09-11 06:29:04 +00:00
Josh Coalson 9f742f6db1 *** empty log message *** 2007-09-09 19:02:47 +00:00
Josh Coalson 571b95aa9b Fixed bug where importing non-CDDA cuesheets would cause an invalid lead-out track number; also add requirement for non-CDDA lead-out track number to be 255 (SF#1764105: https://sourceforge.net/tracker/index.php?func=detail&aid=1764105&group_id=13478&atid=113478). 2007-09-09 06:43:13 +00:00
Josh Coalson 367c1587f5 add --disable-cpplibs configure option (SF#1723295: https://sourceforge.net/tracker/index.php?func=detail&aid=1723295&group_id=13478&atid=313478 2007-08-29 05:45:19 +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