Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: a4ec504949
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (18 sloc) 0.652 kB
use strict;
use warnings;
use Time::HiRes;
use Capture::Tiny;
use Test::Most 'bail';
my $time = Time::HiRes::time;
$ENV{'BUBBLEBREAKER_TEST'} = 1;
ok( -e 'bin/bubble-breaker.pl', 'bin/bubble-breaker.pl exists' );
is( system("$^X -e 1"), 0, "we can execute perl as $^X" );
my ($stdout, $stderr) = Capture::Tiny::capture { system("$^X bin/bubble-breaker.pl") };
ok( !$stderr, 'bubble-breaker ran ' . (Time::HiRes::time - $time) . ' seconds' );
$stdout ||= '';
if($stderr) {
diag( "\$^X = $^X");
diag( "STDERR = $stderr");
}
pass 'Are we still alive? Checking for segfaults';
done_testing();
Jump to Line
Something went wrong with that request. Please try again.