Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Test failed with non-system perl #3

Closed
wants to merge 1 commit into from

2 participants

@kazeburo

Test failed when I use perlbrew's perl and system-perl does not have some required modules.
For fixing this problem, I tried to use $^X to exec statsd in test.

@cosimo
Owner

Net::Statsd::Server 0.10 is out on CPAN. Should work. Please let me know if you still have problems.

@cosimo cosimo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 5, 2013
  1. @kazeburo

    use $^X to exec statsd

    kazeburo authored
This page is out of date. Refresh to see the latest.
View
2  t/integration-tests/bad-message.t
@@ -9,7 +9,7 @@ use Test::Statsd;
use Test::More;
my $t = Test::Statsd->new({
- binary => $ENV{STATSD_BINARY} // "$Bin/../../bin/statsd",
+ binary => $ENV{STATSD_BINARY} // "$^X $Bin/../../bin/statsd",
config => $ENV{STATSD_CONFIG} // "$Bin/../config/testConfig.js",
});
View
2  t/integration-tests/counts-are-valid.t
@@ -11,7 +11,7 @@ use Test::More;
plan tests => 4;
my $t = Test::Statsd->new({
- binary => $ENV{STATSD_BINARY} // "$Bin/../../bin/statsd",
+ binary => $ENV{STATSD_BINARY} // "$^X $Bin/../../bin/statsd",
config => $ENV{STATSD_CONFIG} // "$Bin/../config/testConfig.js",
});
View
2  t/integration-tests/timers-are-valid.t
@@ -11,7 +11,7 @@ use Test::More;
plan tests => 3;
my $t = Test::Statsd->new({
- binary => $ENV{STATSD_BINARY} // "$Bin/../../bin/statsd",
+ binary => $ENV{STATSD_BINARY} // "$^X $Bin/../../bin/statsd",
config => $ENV{STATSD_CONFIG} // "$Bin/../config/testConfig.js",
});
Something went wrong with that request. Please try again.