Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add a simple tool for building localtest.data files from spectest res…

…ults.
  • Loading branch information...
commit 491127ade29982c89da912125ad43dd052a7f0d2 1 parent 9eed237
Patrick R. Michaud pmichaud authored

Showing 1 changed file with 23 additions and 0 deletions. Show diff stats Hide diff stats

  1. +23 0 tools/build-localtest.pl
23 tools/build-localtest.pl
... ... @@ -0,0 +1,23 @@
  1 +#! perl
  2 +
  3 +=head1 NAME
  4 +
  5 +build-localtest.pl - Create a t/localtest.data file from test output.
  6 +
  7 +=head1 SYNOPSIS
  8 +
  9 +perl tools/build-localtest.pl <test_output >t/localtest.data
  10 +
  11 +=head1 DESCRIPTION
  12 +
  13 +This almost doesn't deserve to be a script. It simply reads standard
  14 +input looking for things of the form "t/spec/*/*.(t|rakudo)", then
  15 +prints those to the standard output. Typically I simply run the
  16 +script, then copy-and-paste the summary results of a test run into
  17 +the window and capture the results to t/localtest.data .
  18 +
  19 +=cut
  20 +
  21 +while (<>) {
  22 + m!t/spec/(.*?)\.(t|rakudo)! && print "$1.t\n";
  23 +}

0 comments on commit 491127a

Please sign in to comment.
Something went wrong with that request. Please try again.