Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make bots testable again
By fixing some paths that should've been fixed in
d4c92b7.
  • Loading branch information
AlexDaniel committed Sep 16, 2018
1 parent 9dd0fce commit 62e5fe5
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion xt/benchable.t
Expand Up @@ -2,7 +2,7 @@
BEGIN %*ENV<PERL6_TEST_DIE_ON_FAIL> = 1;
%*ENV<TESTABLE> = 1;

use lib <lib t/lib>;
use lib <lib xt/lib>;
use Test;
use Testable;

Expand Down
2 changes: 1 addition & 1 deletion xt/bisectable.t
Expand Up @@ -2,7 +2,7 @@
BEGIN %*ENV<PERL6_TEST_DIE_ON_FAIL> = 1;
%*ENV<TESTABLE> = 1;

use lib <lib t/lib>;
use lib <lib xt/lib>;
use Test;
use Testable;

Expand Down
2 changes: 1 addition & 1 deletion xt/bloatable.t
Expand Up @@ -2,7 +2,7 @@
BEGIN %*ENV<PERL6_TEST_DIE_ON_FAIL> = 1;
%*ENV<TESTABLE> = 1;

use lib <lib t/lib>;
use lib <lib xt/lib>;
use Test;
use IRC::Client;
use Testable;
Expand Down
2 changes: 1 addition & 1 deletion xt/committable.t
Expand Up @@ -2,7 +2,7 @@
BEGIN %*ENV<PERL6_TEST_DIE_ON_FAIL> = 1;
%*ENV<TESTABLE> = 1;

use lib <lib t/lib>;
use lib <lib xt/lib>;
use Test;
use Testable;

Expand Down
2 changes: 1 addition & 1 deletion xt/coverable.t
Expand Up @@ -2,7 +2,7 @@
BEGIN %*ENV<PERL6_TEST_DIE_ON_FAIL> = 1;
%*ENV<TESTABLE> = 1;

use lib <lib t/lib>;
use lib <lib xt/lib>;
use Test;
use IRC::Client;
use Testable;
Expand Down
2 changes: 1 addition & 1 deletion xt/evalable.t
Expand Up @@ -2,7 +2,7 @@
BEGIN %*ENV<PERL6_TEST_DIE_ON_FAIL> = 1;
%*ENV<TESTABLE> = 1;

use lib <lib t/lib>;
use lib <lib xt/lib>;
use Test;
use IRC::Client;
use Testable;
Expand Down
2 changes: 1 addition & 1 deletion xt/greppable.t
Expand Up @@ -2,7 +2,7 @@
BEGIN %*ENV<PERL6_TEST_DIE_ON_FAIL> = 1;
%*ENV<TESTABLE> = 1;

use lib <lib t/lib>;
use lib <lib xt/lib>;
use Test;
use IRC::Client;
use Testable;
Expand Down
2 changes: 1 addition & 1 deletion xt/lib/Testable.pm6
Expand Up @@ -68,7 +68,7 @@ class Testable {
);
start $!irc-client.run;

my $executable = ./bin/ ~ $bot ~ .p6;
my $executable = ./xbin/ ~ $bot ~ .p6;
run :env(|%*ENV, PERL6LIB => lib), <perl6 -c -->, $executable; # precompahead
$!bot-proc = Proc::Async.new: <perl6 -->, $executable;
END .kill with $!bot-proc;
Expand Down
2 changes: 1 addition & 1 deletion xt/nativecallable.t
Expand Up @@ -2,7 +2,7 @@
BEGIN %*ENV<PERL6_TEST_DIE_ON_FAIL> = 1;
%*ENV<TESTABLE> = 1;

use lib <lib t/lib>;
use lib <lib xt/lib>;
use Test;
use IRC::Client;
use Testable;
Expand Down
2 changes: 1 addition & 1 deletion xt/notable.t
Expand Up @@ -2,7 +2,7 @@
BEGIN %*ENV<PERL6_TEST_DIE_ON_FAIL> = 1;
%*ENV<TESTABLE> = 1;

use lib <lib t/lib>;
use lib <lib xt/lib>;
use Test;
use Testable;

Expand Down
2 changes: 1 addition & 1 deletion xt/quotable.t
Expand Up @@ -2,7 +2,7 @@
BEGIN %*ENV<PERL6_TEST_DIE_ON_FAIL> = 1;
%*ENV<TESTABLE> = 1;

use lib <lib t/lib>;
use lib <lib xt/lib>;
use Test;
use IRC::Client;
use Testable;
Expand Down
2 changes: 1 addition & 1 deletion xt/releasable.t
Expand Up @@ -2,7 +2,7 @@
BEGIN %*ENV<PERL6_TEST_DIE_ON_FAIL> = 1;
%*ENV<TESTABLE> = rakudo-mock;

use lib <lib t/lib>;
use lib <lib xt/lib>;
use File::Directory::Tree;
use IRC::Client;
use Test;
Expand Down
2 changes: 1 addition & 1 deletion xt/statisfiable.t
Expand Up @@ -2,7 +2,7 @@
BEGIN %*ENV<PERL6_TEST_DIE_ON_FAIL> = 1;
%*ENV<TESTABLE> = 1;

use lib <lib t/lib>;
use lib <lib xt/lib>;
use Test;
use IRC::Client;
use Testable;
Expand Down
2 changes: 1 addition & 1 deletion xt/unicodable.t
Expand Up @@ -2,7 +2,7 @@
BEGIN %*ENV<PERL6_TEST_DIE_ON_FAIL> = 1;
%*ENV<TESTABLE> = 1;

use lib <lib t/lib>;
use lib <lib xt/lib>;
use Test;
use IRC::Client;
use Testable;
Expand Down

0 comments on commit 62e5fe5

Please sign in to comment.