File: test.all.sh

package info (click to toggle)
libdbd-informix-perl 2003.04-3
  • links: PTS
  • area: contrib
  • in suites: etch, etch-m68k, sarge
  • size: 1,232 kB
  • ctags: 467
  • sloc: perl: 7,349; ansic: 5,340; sh: 184; makefile: 58
file content (26 lines) | stat: -rwxr-xr-x 633 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
:	"@(#)$Id: test.all.sh,v 100.1 2002/02/08 22:49:40 jleffler Exp $"
#
#	Run tests against logged, unlogged and mode_ansi databases
#
# Copyright 1997-98 Jonathan Leffler
# Copyright 2000    Informix Software Inc
# Copyright 2002    IBM

dblist=${DBD_INFORMIX_DBLIST:-"logged unlogged mode_ansi"}

status=0
for dbase in $dblist
do
	echo
	echo "Testing database $dbase"
	if	DBD_INFORMIX_DATABASE=$dbase \
		PERL_DL_NONLAZY=1 ${PERL:-perl} \
		-I./blib/arch \
		-I./blib/lib \
		-e 'use Test::Harness qw(&runtests $verbose);
			$verbose='${TEST_VERBOSE:-0}'; runtests @ARGV;' ${*:-t/*.t}
	then : OK
	else status=1
	fi
done
exit $status