aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 8bb5d69e9..a97d8647e 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -2376,8 +2376,9 @@ sub singletest {
delete $ENV{$var} if($ENV{$var});
}
else {
- if(($has_shared ne "yes") && ($var =~ /^LD_PRELOAD/)) {
- # print "Skipping LD_PRELOAD due to no shared build\n";
+ if(($var =~ /^LD_PRELOAD/) &&
+ ($debug_build || ($has_shared ne "yes"))) {
+ # print "Skipping LD_PRELOAD due to no release shared build\n";
next;
}
$ENV{$var} = "$content";