Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created July 21, 2017 23:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoffixznet/22ff73bf9d0d0af267256e9be2b977d0 to your computer and use it in GitHub Desktop.
Save zoffixznet/22ff73bf9d0d0af267256e9be2b977d0 to your computer and use it in GitHub Desktop.
zoffix@VirtualBox~/CPANPRC/rakudo (nom)$ gd
diff --git a/lib/Test.pm6 b/lib/Test.pm6
index 9ab1bc3..115198c 100644
--- a/lib/Test.pm6
+++ b/lib/Test.pm6
@@ -806,6 +806,12 @@ END {
if nqp::iseq_i($done_testing_has_been_run,0)
&& nqp::iseq_i($no_plan,0);
+ given "testing-times".IO.open(:a) {
+ .lock;
+ .say: "$*PROGRAM {now - INIT now}";
+ .close;
+ }
+
.?close unless $_ === $*OUT || $_ === $*ERR
for $output, $failure_output, $todo_output;
zoffix@VirtualBox~/CPANPRC/rakudo (nom)$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment