[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rt-commit
Subject:    [Rt-commit] rt branch, 4.0/enable-more-warnings-in-tests, created. rt-4.0.11rc1-6-gbb6f64c
From:       ruz () bestpractical ! com (Ruslan Zakirov)
Date:       2013-03-30 19:18:42
Message-ID: 20130330191842.2468F2418001 () booth ! bestpractical ! com
[Download RAW message or body]

The branch, 4.0/enable-more-warnings-in-tests has been created
        at  bb6f64cbe8706400bcb178843c68c39c72a865f7 (commit)

- Log -----------------------------------------------------------------
commit bb6f64cbe8706400bcb178843c68c39c72a865f7
Author: Ruslan Zakirov <ruz@bestpractical.com>
Date:   Sat Mar 30 23:14:57 2013 +0400

    enable warnings globally in RT::Test as first thing
    
    Our smoke testing system runs tests with -w flag, so
    if you run tests with prove -vl with -w then you
    may get different results or even failures.
    
    Let's just enable them globally for tests.

diff --git a/lib/RT/Test.pm b/lib/RT/Test.pm
index d1eb05f..4bd81ae 100644
--- a/lib/RT/Test.pm
+++ b/lib/RT/Test.pm
@@ -51,6 +51,7 @@ package RT::Test;
 use strict;
 use warnings;
 
+BEGIN { $^W = 1 };
 
 use base 'Test::More';
 

-----------------------------------------------------------------------
_______________________________________________
Rt-commit mailing list
Rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic