Commit Graph

39 Commits

Author SHA1 Message Date
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
29db3fbf1c Fix cursheet tests for 'make distcheck'. 2015-02-24 06:06:10 +11:00
Erik de Castro Lopo
7c3cd3d908 Update grabbag tests to work out-of-tree. 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
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
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
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
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
338a0b13d2 add logging of command to valgrind log 2006-11-20 05:39:34 +00:00
Josh Coalson
ea8691226a add test_picture to grabbag tests 2006-11-17 07:46:09 +00:00
Josh Coalson
8f6bdf2fd8 minor fix for windows quirk 2006-10-03 01:03:12 +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
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
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
c3cc5b4260 minor comments 2002-12-13 05:36:34 +00:00
Josh Coalson
6218b344f7 clean up code by emulating perl's 'die' command 2002-12-12 03:58:18 +00:00
Josh Coalson
34c1ea8ca2 instrument for valgrind 2002-12-04 04:57:33 +00:00
Josh Coalson
4bfb6e5481 fix search path 2002-12-03 06:29:23 +00:00
Josh Coalson
cb908a6d77 add cuesheet parser/validator tests 2002-11-23 02:21:48 +00:00