From: Dan Fandrich Date: Fri, 21 Apr 2023 19:04:21 +0000 (-0700) Subject: runtests: turn a print into a logmsg X-Git-Tag: curl-8_1_0~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90158f0bab4dedcfa98ce2d2ee47234f5ad2cdaa;p=thirdparty%2Fcurl.git runtests: turn a print into a logmsg Also enable another couple of useful messages in verbose mode. Ref: #10818 --- diff --git a/tests/runner.pm b/tests/runner.pm index f6586bf26d..b292a636a4 100644 --- a/tests/runner.pm +++ b/tests/runner.pm @@ -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); } } }