This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Perl_ppaddr_t orig_subhandler; | |
| static OP* my_subhandler(pTHX) { | |
| OP* out = orig_subhandler(aTHX); | |
| char *file = CopFILE(cCOPx(out)); | |
| printf("xxx %s\n", file); | |
| return out; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package Devel::NeedABetterName; | |
| use strict; | |
| use warnings; | |
| our %files; | |
| our $on; | |
| BEGIN { | |
| # Avoid adding [...] stuff to evals in stack traces | |
| $^P ^= (0x200); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package Devel::Prof; | |
| use strict; | |
| use warnings; | |
| our %files; | |
| no warnings 'redefine'; | |
| our $on; | |
| BEGIN { $on = 1 }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [STDOUT] Step 93/106 : RUN PERL_CPANM_OPT="" cpanm /.docker/docker-files/Test2-Harness-1.000000.tar.gz | |
| [STDOUT] ---> Running in 98a5cdbed1cd | |
| [STDOUT] ! Finding /.docker/docker-files/Test2-Harness-1.000000.tar.gz on cpanmetadb failed. | |
| [STDOUT] ! Finding /.docker/docker-files/Test2-Harness-1.000000.tar.gz () on mirror http://www.cpan.org failed. | |
| [STDOUT] ! Couldn't find module or a distribution /.docker/docker-files/Test2-Harness-1.000000.tar.gz | |
| [STDERR] The command '/bin/sh -c PERL_CPANM_OPT="" cpanm /.docker/docker-files/Test2-Harness-1.000000.tar.gz' returned a non-zero code: 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Can't read /home/exodist/projects/Test2/Test2-Harness/cover_db/digests with Cpanel::JSON::XS: garbage after JSON object, at character offset 34070 (before "|") at /home/exodist/perl5/perlbrew/perls/main/lib/site_perl/5.30.0/x86_64-linux/Devel/Cover/DB/IO/JSON.pm line 35, <$fh> chunk 1. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PID: 508335 (506711) | |
| Kill: 0 | |
| A: 508335 (506711) | |
| B: 508335 (508335) | |
| wait 0: -1 | |
| Kill: 1 | |
| child exits 508335 (508335) | |
| wait 0: -1 | |
| Kill: 1 | |
| got sigchild |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sub format_stamp { | |
| my $stamp = shift; | |
| return undef unless $stamp; | |
| my $out = DateTime->from_epoch(epoch => $stamp)->stringify; | |
| $out .= $1 if sprintf("%.10f", $stamp) =~ m/(\.\d+)$/; | |
| return $out; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package DepTracer; | |
| use strict; | |
| use warnings; | |
| use Object::HashBase qw/ | |
| -_on | |
| -exclude | |
| -dep_map | |
| -loaded | |
| -my_require |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use strict; | |
| use warnings; | |
| use Test::More; | |
| use Test2::API qw/context/; | |
| my @tasks; | |
| sub enqueue(&) { | |
| my $ctx = context(); # Gets the context created by 'is_later' | |
| # Snapshot is safe to pass around, unlike the actual context. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use Test2::Bundle::Extended; | |
| subtest foo => sub { | |
| ok(1); | |
| subtest bar => sub { | |
| ok(1); | |
| subtest baz => sub { | |
| ok(1); | |
| bail_out "xx"; | |
| } |