[Bps-public-commit] smokingit-worker branch, master, updated. 788896dbdc0ceac7d278f05e03b5924c639bf8c0
Alex Vandiver
alexmv at bestpractical.com
Tue Mar 4 00:28:58 EST 2014
The branch, master has been updated
via 788896dbdc0ceac7d278f05e03b5924c639bf8c0 (commit)
from c07480c254a1c01d9e3677c142f8599530444952 (commit)
Summary of changes:
lib/Smokingit/Worker.pm | 1 +
1 file changed, 1 insertion(+)
- Log -----------------------------------------------------------------
commit 788896dbdc0ceac7d278f05e03b5924c639bf8c0
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Tue Mar 4 00:28:23 2014 -0500
Load ::AnyEvent early, not at ->runtests time
The cwd has been changed by the time ->runtests has run, causing the
«use lib 'lib'» in bin/smokingit-worker to not help in finding
TAP::Parser::Multiplexer::AnyEvent. Load it early, when
Smokingit::Worker is loaded, to ensure that it can be found when needed
later.
diff --git a/lib/Smokingit/Worker.pm b/lib/Smokingit/Worker.pm
index 4966083..8619eec 100644
--- a/lib/Smokingit/Worker.pm
+++ b/lib/Smokingit/Worker.pm
@@ -9,6 +9,7 @@ use AnyEvent;
use AnyMQ;
use TAP::Harness;
+use TAP::Parser::Multiplexer::AnyEvent;
use Storable qw( nfreeze thaw );
use YAML;
use Cwd qw();
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list