Skip to content

Commit 20c194f

Browse files
committed
Let S17-procasync/stress.t be launched from roast folder
Previously it had to be launched from t/spec/ assuming it was in rakudo's folder. This fixes that so it can be started from both.
1 parent 0b36afb commit 20c194f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

S17-procasync/stress.t

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
use v6;
2+
use lib <packages/>;
23
use lib <t/spec/packages/>;
34
use Test;
45
use Test::Util;
@@ -8,7 +9,7 @@ plan 12;
89
# RT #125515
910
#?rakudo.jvm skip 'Proc::Async NYI RT #126524'
1011
{
11-
constant $read-file = "t/spec/packages/README".IO;
12+
constant $read-file = "t/spec/packages/README".IO.f ?? "t/spec/packages/README".IO !! "packages/README".IO;
1213
$read-file.IO.r or bail-out "Missing $read-file that is needed to run a test";
1314

1415
my @got;

0 commit comments

Comments
 (0)