]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
runtests: turn a print into a logmsg
authorDan Fandrich <dan@coneharvesters.com>
Fri, 21 Apr 2023 19:04:21 +0000 (12:04 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Mon, 24 Apr 2023 19:13:17 +0000 (12:13 -0700)
Also enable another couple of useful messages in verbose mode.

Ref: #10818

tests/runner.pm

index f6586bf26db2d0ef1541ec2e00417a5994d29a0e..b292a636a4e312b94d72f72a36118d4e209a0613 100644 (file)
@@ -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);
             }
         }
     }