Update of /cvsroot/openinteract/OpenInteract2/t
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7846/t
Modified Files:
utils.pl
Log Message:
if the environment variable OI2DEBUG is set then assign the log4perl
level to DEBUG for all tests
Index: utils.pl
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract2/t/utils.pl,v
retrieving revision 1.87
retrieving revision 1.88
diff -C2 -d -r1.87 -r1.88
*** utils.pl 26 Jan 2005 02:36:14 -0000 1.87
--- utils.pl 13 Feb 2005 20:33:35 -0000 1.88
***************
*** 23,29 ****
BEGIN {
! #my $log_level = $DEBUG;
! # TODO: Change before distributing!
! my $log_level = $WARN;
$log = OpenInteract2::Log->init_file( 'oi2_tests.log', $log_level );
$log->warn( "Starting test run [$0] [", scalar localtime, "]" );
--- 23,27 ----
BEGIN {
! my $log_level = ( $ENV{OI2DEBUG} ) ? $DEBUG : $WARN;
$log = OpenInteract2::Log->init_file( 'oi2_tests.log', $log_level );
$log->warn( "Starting test run [$0] [", scalar localtime, "]" );
|