This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make t/porting/buildtoc.t use runperl for portability.
[perl5.git] / t / porting / buildtoc.t
1 #!./perl
2
3 BEGIN {
4     chdir '..' unless -d 't';
5     unshift @INC, 'lib';
6 }
7
8 use strict;
9 require 't/test.pl';
10
11 my $result = runperl(switches => ['-f', '-Ilib'], 
12                      progfile => 'pod/buildtoc', 
13                      args     => ['--build-toc', '-q', '--test', '--build-all']);
14
15 print $result;