diff --git a/tests/autotest-local.pl b/tests/autotest-local.pl index 0bb55a6..6763b8b 100644 --- a/tests/autotest-local.pl +++ b/tests/autotest-local.pl @@ -17,7 +17,10 @@ sub permute sub gcctoolset { - return 'gcc' . chomp(`gcc -dumpversion`); + my $gccversion = `gcc -dumpversion`; + chomp($gccversion); + + return "gcc$gccversion"; } $fast = (shift eq 'fast');