From 072ee519423a8acc64639ca2f92688341a184a0e Mon Sep 17 00:00:00 2001 From: Robert Stone Date: Mon, 26 May 2008 20:09:56 +0000 Subject: [PATCH] run test cases in the Perl set by the --with-perl5 configure option. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10498 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/perl5/run-perl-test.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/test-suite/perl5/run-perl-test.pl b/Examples/test-suite/perl5/run-perl-test.pl index f0e1b0288..106bf002b 100755 --- a/Examples/test-suite/perl5/run-perl-test.pl +++ b/Examples/test-suite/perl5/run-perl-test.pl @@ -7,7 +7,7 @@ use strict; my $command = shift @ARGV; -my $output = `perl $command 2>&1`; +my $output = `$^X $command 2>&1`; die "SWIG Perl test failed: \n\n$output\n" if $?;