Skip to content

Commit

Permalink
allow these tests to run from a different directory
Browse files Browse the repository at this point in the history
  • Loading branch information
karenetheridge committed Oct 13, 2015
1 parent 924fd90 commit 4dae387
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
5 changes: 4 additions & 1 deletion t/moo-with-moose.t
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ use warnings;
use Test::Requires {
'Moose' => '()',
};
do 't/moo.t';

use FindBin qw($Bin);

do "$Bin/moo.t";
die $@ if $@;
7 changes: 6 additions & 1 deletion t/mouse-pp.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
use strict;
use warnings;

use FindBin qw($Bin);

$ENV{MOUSE_PUREPERL} = 1;
do 't/mouse.t';
do "$Bin/mouse.t";
die $@ if $@;

0 comments on commit 4dae387

Please sign in to comment.