This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don’t write beyond the stack with scalar \()
[perl5.git] / t / porting / bench.t
CommitLineData
9e7973fa
DM
1#!./perl -w
2
3# run Porting/bench.pl's selftest
4
5BEGIN {
6 @INC = '..' if -f '../TestInit.pm';
7}
8use TestInit qw(T A); # T is chdir to the top level, A makes paths absolute
9use strict;
10
11require 't/test.pl';
12my $source = find_git_or_skip('all');
13chdir $source or die "Can't chdir to $source: $!";
14
15system "$^X Porting/bench.pl --action=selftest";