~ubuntu-branches/ubuntu/precise/rakudo/precise

« back to all changes in this revision

Viewing changes to tools/build-localtest.pl

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghedini
  • Date: 2011-05-17 11:31:09 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110517113109-rmfir654u1axbpt4
Tags: 0.1~2011.04-1
* New upstream release (Closes: #601862, #585762, #577502)
* New maintainer
* Switch to 3.0 (quilt) format
* Update dependencies (Closes: #584498)
* Update debian/copyright to lastest DEP5 revision
* Do not generate/install perl6 manpage (now done by the build system)
* Enable tests
* Bump Standards-Version to 3.9.2 (no changes needed)
* Do not install extra LICENSE files and duplicated docs
* Remove debian/clean (no more needed)
* Add Vcs-* fields in debian/control
* Rewrite (short) description
* Update upstream copyright years
* Upload to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
}