git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Testsuite: honour the "build" environment variable
[users/jgh/exim.git]
/
test
/
lib
/
Exim
/
Runtest.pm
diff --git
a/test/lib/Exim/Runtest.pm
b/test/lib/Exim/Runtest.pm
index 8d22544bfdcdd7de26d5a0d8e2ce688e82f22619..537cea1e9513df139f68515be3261d18810c574e 100644
(file)
--- a/
test/lib/Exim/Runtest.pm
+++ b/
test/lib/Exim/Runtest.pm
@@
-103,6
+103,7
@@
sub exim_binary {
my $os = `$_/scripts/os-type`;
my $arch = `$_/scripts/arch-type`;
chomp($os, $arch);
my $os = `$_/scripts/os-type`;
my $arch = `$_/scripts/arch-type`;
chomp($os, $arch);
+ ($ENV{build} ? "$_/build-$ENV{build}" : ()),
"$_/build-$os-$arch" . ($ENV{EXIM_BUILD_SUFFIX} ? ".$ENV{EXIM_BUILD_SUFFIX}" : '');
} @candidates;
"$_/build-$os-$arch" . ($ENV{EXIM_BUILD_SUFFIX} ? ".$ENV{EXIM_BUILD_SUFFIX}" : '');
} @candidates;