summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2016-12-04 23:34:13 +0100
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2016-12-04 23:34:13 +0100
commit7495ef81389e682f08d57d40df1b7e852d4cdcc8 (patch)
tree8d5c3f05199bd7a6d546c5e4797801f1c5d99255
parent8e53a4fc1a0790138a5b460da7d9c621f6d32622 (diff)
downloadexim4-7495ef81389e682f08d57d40df1b7e852d4cdcc8.tar.gz
Testsuite: honour the "build" environment variable
-rw-r--r--test/lib/Exim/Runtest.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/Exim/Runtest.pm b/test/lib/Exim/Runtest.pm
index 8d22544bf..537cea1e9 100644
--- 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);
+ ($ENV{build} ? "$_/build-$ENV{build}" : ()),
"$_/build-$os-$arch" . ($ENV{EXIM_BUILD_SUFFIX} ? ".$ENV{EXIM_BUILD_SUFFIX}" : '');
} @candidates;