This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Let Lint private_names catch out-of-package _foo methods.
[perl5.git] / run_bytecode_test
CommitLineData
79ee8297
MB
1#!/bin/sh
2testdir=../perl5.002/t
3cwd=`pwd`
4if [ -f bperl ]; then
5 perl=./bperl
6else
7 perl="perl -Iblib/arch"
8fi
9for pl in ${1+"$@"}
10do
11 echo "***** $pl *****"
12 $perl -MO=Bytecode,-obtest $pl \
13 && (cd $testdir; $cwd/byteperl $cwd/btest)
14done