[Bps-public-commit] smokingit-worker branch, master, updated. 6dd7de3b31567d3710f07879c094312f16c2dc3f

Alex Vandiver alexmv at bestpractical.com
Thu Jun 7 20:35:52 EDT 2012


The branch, master has been updated
       via  6dd7de3b31567d3710f07879c094312f16c2dc3f (commit)
       via  e367ce45e1c3cd2ab4b2f4bd9d46a12dd1582714 (commit)
      from  9b231ffc564324f39d83b429dc4e96131a1bb3f8 (commit)

Summary of changes:
 lib/Smokingit/Worker.pm |    2 ++
 1 file changed, 2 insertions(+)

- Log -----------------------------------------------------------------
commit e367ce45e1c3cd2ab4b2f4bd9d46a12dd1582714
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Sat Mar 24 22:28:46 2012 -0400

    Actually reset %ENV and of each test run

diff --git a/lib/Smokingit/Worker.pm b/lib/Smokingit/Worker.pm
index 242e15c..78fce7a 100644
--- a/lib/Smokingit/Worker.pm
+++ b/lib/Smokingit/Worker.pm
@@ -97,6 +97,7 @@ sub run_tests {
         system("git", "reset", "--hard", "HEAD");
         $_->clean for @cleaners;
         chdir("..");
+        %ENV = %ORIGINAL_ENV;
         return undef;
     };
     my $error = sub {

commit 6dd7de3b31567d3710f07879c094312f16c2dc3f
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Thu Jun 7 20:35:40 2012 -0400

    Ensure that tests are run with warnings enabled

diff --git a/lib/Smokingit/Worker.pm b/lib/Smokingit/Worker.pm
index 78fce7a..e28d9a2 100644
--- a/lib/Smokingit/Worker.pm
+++ b/lib/Smokingit/Worker.pm
@@ -144,6 +144,7 @@ sub run_tests {
     my $harness = TAP::Harness->new( {
             jobs => $jobs,
             lib => [".", "lib"],
+            switches => "-w",
         } );
     $harness->callback(
         after_test => sub {

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list