← Commit list

74a2828279

Viktor Szakats
Viktor Szakats
2025-12-16
SUCCESS Duration: 385s

Subject

runtests: log the required minimum number of tests in CI

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

tests/runtests.pl+7 -3
@@ -885,6 +885,9 @@ sub checksystemfeatures {
if(system("diff $TESTDIR/DISABLED $TESTDIR/DISABLED 2>$dev_null") != 0) {
logmsg "* diff: missing\n";
}
+ if($mintotal) {
+ logmsg "* Min tests: $mintotal\n";
+ }
}
#######################################################################
@@ -2711,6 +2714,10 @@ if(!$jobs) {
setlogfunc(\&logmsg);
}
+if(!$mintotal && $ENV{"CURL_TEST_MIN"}) {
+ $mintotal = $ENV{"CURL_TEST_MIN"};
+}
+
#######################################################################
# Output curl version and host info being tested
#
@@ -3332,9 +3339,6 @@ else {
}
}
-if(!$mintotal && $ENV{"CURL_TEST_MIN"}) {
- $mintotal = $ENV{"CURL_TEST_MIN"};
-}
if($mintotal) {
if($total < $mintotal) {
logmsg "TESTFAIL: number of tests run was below the minimum of: $mintotal\n";