From: Marius Gavrilescu Date: Sat, 10 Jan 2015 18:37:25 +0000 (+0200) Subject: Set test log level to TRACE when TEST_VERBOSE is true X-Git-Tag: 5999.000_005~106 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=d520092522e87991aa1c41b2718ab75989eb3219;p=gruntmaster-daemon.git Set test log level to TRACE when TEST_VERBOSE is true --- diff --git a/t/01-jobs.t b/t/01-jobs.t index 7001ef1..bb2c4ba 100644 --- a/t/01-jobs.t +++ b/t/01-jobs.t @@ -17,7 +17,7 @@ use YAML::Any qw/LoadFile/; ################################################## -my $loglevel = $ENV{TEST_LOG_LEVEL} // 'OFF'; +my $loglevel = $ENV{TEST_LOG_LEVEL} // ($ENV{TEST_VERBOSE} ? 'TRACE' : 'OFF'); my $log_conf = <