mirror of
https://github.com/curl/curl.git
synced 2025-04-12 16:20:35 +08:00
runtests: turn a print into a logmsg
Also enable another couple of useful messages in verbose mode. Ref: #10818
This commit is contained in:
parent
406cc24f5d
commit
90158f0bab
@ -360,6 +360,7 @@ sub torture {
|
||||
}
|
||||
}
|
||||
|
||||
logmsg "\n" if($verbose);
|
||||
logmsg "torture OK\n";
|
||||
return 0;
|
||||
}
|
||||
@ -464,16 +465,16 @@ sub singletest_setenv {
|
||||
else {
|
||||
if($var =~ /^LD_PRELOAD/) {
|
||||
if(exe_ext('TOOL') && (exe_ext('TOOL') eq '.exe')) {
|
||||
# print "Skipping LD_PRELOAD due to lack of OS support\n";
|
||||
logmsg "Skipping LD_PRELOAD due to lack of OS support\n" if($verbose);
|
||||
next;
|
||||
}
|
||||
if($feature{"debug"} || !$has_shared) {
|
||||
# print "Skipping LD_PRELOAD due to no release shared build\n";
|
||||
logmsg "Skipping LD_PRELOAD due to no release shared build\n" if($verbose);
|
||||
next;
|
||||
}
|
||||
}
|
||||
$ENV{$var} = "$content";
|
||||
print "setenv $var = $content\n" if($verbose);
|
||||
logmsg "setenv $var = $content\n" if($verbose);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user