Commit Graph

68 Commits

Author SHA1 Message Date
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 bb6f643fdc test_streams.sh: Improve error message 2015-09-07 14:49:55 +10: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 d06d985487 test/ : Use new --no-error-on-compression-fail option as needed. 2013-08-01 23:02:26 +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 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
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
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 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 574dc9c23e more test variations on fsd streams 2007-01-19 05:33:30 +00:00
Josh Coalson 338a0b13d2 add logging of command to valgrind log 2006-11-20 05:39:34 +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 4ac9fdbcda default to FLAC__TEST_LEVEL=1 2006-11-02 01:38:55 +00:00
Josh Coalson d0edb97a46 limit subset further if sample rate is <=48kHz: max blocksize is 4608 and max LPC order is 12 2006-10-07 06:50:08 +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 439367cbe9 fix endian-ness on sine wave tests 2005-02-03 04:20:16 +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 ba56c9e31a add --force to run_flac invocations 2004-07-17 00:22:39 +00:00
Josh Coalson 9564390fb9 update copyright to 2004 2004-01-17 04:14:43 +00:00
Josh Coalson e8a7601a4b change license verbiage 2003-02-07 00:14:32 +00:00
Josh Coalson ecf57b7514 minor syntax 2003-01-14 09:00:25 +00:00
Josh Coalson afae69f0e3 Add 2003 to copyright notice 2003-01-02 07:03:16 +00:00
Josh Coalson 80936c5ba1 make valgrind output go into test-specific log file instead of one massive valgrind.log 2002-12-30 23:31:47 +00:00
Josh Coalson af3145ebba tweak Valgrind invocation to show more callers 2002-12-27 21:07:20 +00:00
Josh Coalson 6218b344f7 clean up code by emulating perl's 'die' command 2002-12-12 03:58:18 +00:00
Josh Coalson d3fe72801a split off some tests to new test_flac.sh script 2002-12-10 06:42:15 +00:00
Josh Coalson 34c1ea8ca2 instrument for valgrind 2002-12-04 04:57:33 +00:00
Josh Coalson 48404ff9c3 split obj dir into separate release and debug dirs 2002-11-21 08:58:52 +00:00
Josh Coalson 94b22e05de extend tests with --disable-...-subframe loops; precursor to valgrind support 2002-10-11 06:22:30 +00:00
Josh Coalson e2281f3432 fix bug with missing --lax in some cases 2002-09-11 00:31:47 +00:00
Josh Coalson 07414eb2ce add test for --serial-number 2002-09-04 07:56:02 +00:00
Josh Coalson 214d319181 fix bugs in encode arguments 2002-08-31 05:47:33 +00:00
Josh Coalson 9b14518752 add FLAC__EXHAUSTIVE_TESTS 2002-08-30 05:39:36 +00:00
Josh Coalson 9fb180bc85 add 8bps sine wave to suite; also do some 48kHz and 96kHz tests 2002-08-22 07:26:06 +00:00
Josh Coalson 5f39e9f18c fixes based on Windows testing 2002-08-21 05:27:01 +00:00
Josh Coalson eb20903946 fix various little bugs related to format options 2002-08-20 20:37:26 +00:00
Josh Coalson a1283a2799 add --sector-align tests 2002-08-16 05:36:53 +00:00
Josh Coalson 6a8ff4793a update to match new getopt-based options 2002-08-12 20:26:22 +00:00
Josh Coalson 76e8725802 comment out --sector-align tests until I figure out how the decoded results can be compared properly 2002-08-08 22:54:03 +00:00
Josh Coalson 9bcf9e8174 add tests for --ogg, --sector-align, multiple files at once 2002-08-07 17:07:37 +00:00