Files
ANSLibs/swig-4.3.0/Examples/test-suite/perl5/run-perl-test.pl

16 lines
255 B
Perl
Raw Normal View History

#!/usr/bin/perl
eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
if $running_under_some_shell;
#!/usr/bin/perl -w
use strict;
my $command = shift @ARGV;
my $output = `$^X -I. $command 2>&1`;
die "SWIG Perl test failed: \n\n$output\n"
if $?;
exit(0);