This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Initial check-in of perl compiler.
[perl5.git] / test_harness_cc
1 #!/bin/sh
2 if [ -f bperl ]; then
3     perl=./bperl
4 else
5     perl="perl -Iblib/arch"
6 fi
7 for pl in ${1+"$@"}
8 do
9     echo "***** $pl *****"
10     $perl -MO=CC,-obtest.tc $pl                 \
11         && mv btest.tc btest.c                  \
12         && $perl cc_harness -O2 -o btest btest.c\
13         && ./btest
14 done