[Rt-commit] rt branch, 4.0/enable-more-warnings-in-tests, created. rt-4.0.11rc1-6-gbb6f64c
Ruslan Zakirov
ruz at bestpractical.com
Sat Mar 30 15:18:42 EDT 2013
The branch, 4.0/enable-more-warnings-in-tests has been created
at bb6f64cbe8706400bcb178843c68c39c72a865f7 (commit)
- Log -----------------------------------------------------------------
commit bb6f64cbe8706400bcb178843c68c39c72a865f7
Author: Ruslan Zakirov <ruz at 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';
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list