File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,11 @@ explains briefly how to get started contributing documentation.
159
159
#= P<p6doc/¬e>
160
160
sub note(|$) { ... }
161
161
162
+ # ENV VARS
163
+
164
+ Set ` PERL6_DOC_TEST_VERSBOSE ` to a true value to display verbose messages during test suite run.
165
+ Helpful when debugging failing test suite.
166
+
162
167
# LICENSE
163
168
164
169
See [ LICENSE] ( LICENSE ) file for the details of the license of the code in this repository.
Original file line number Diff line number Diff line change @@ -28,8 +28,11 @@ my @jobs;
28
28
% data {@ files } = 0 xx @ files ;
29
29
for @ files -> $ file {
30
30
my $ p = Proc ::Async. new ($ * EXECUTABLE-NAME , ' --doc' , $ file );
31
- $ p . stdout. tap (-> $ buf {});
32
- $ p . stderr. tap (-> $ buf { % data {$ file } = 1 });
31
+ $ p . stdout. tap : {;};
32
+ $ p . stderr. tap : {
33
+ % * ENV <PERL6_DOC_TEST_VERSBOSE > and diag " $ file STDERR: $ _" ;
34
+ % data {$ file } = 1 ;
35
+ }
33
36
push @ jobs : $ p . start;
34
37
if + @ jobs > $ max-jobs {
35
38
test-it(await @ jobs . shift );
You can’t perform that action at this time.
0 commit comments