Repository navigation
Conversation
When both are set, to improve the default. It may still need manual adjustment in cases (in CI for example, the Windows job was like this, and the planned riscv64 one). Ref: curl#22617 Follow-up to e669179 curl#22616
There was a problem hiding this comment.
Pull request overview
Adjusts minimum-test enforcement when running test subsets.
Changes:
- Divides the configured minimum test count by the number of subsets.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
vszakats
marked this pull request as draft
August 18, 2026 13:15
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
Suppressed comments (1)
tests/runtests.pl:2763
- This now overwrites
-o mintotal=...wheneverCURL_TEST_MINis set. The documented-ocontract allows internal variables to be overwritten (docs/runtests.md:196-200), and before this move the environment default was loaded before option parsing, so-otook precedence. Preserve an already assigned$mintotalhere (or explicitly track the-oassignment) so this existing override continues to work.
if(!$mintotalany && $ENV{"CURL_TEST_MIN"}) {
vszakats
marked this pull request as ready for review
August 18, 2026 13:42
vszakats
added a commit
that referenced
this pull request
Aug 18, 2026
Also: - drop most hand-tuned `--min` options, in favor of defaults. - enable tests on emulated riscv64. Suggested-by: Dan Fandrich Ref: #22590 (comment) - drop building examples on emulated riscv64. Adding around 3.5 minutes to the riscv64 job: 0.5 Perl install, 2 minutes to build tests, 1 minute to run 100 tests. Follow-up to 6648669 #22619 Follow-up to e669179 #22616 Follow-up to 58cb1e2 #22618 Follow-up to d000006 #22602 Closes #22617
vszakats
added a commit
that referenced
this pull request
Oct 1, 2026
To avoid random fallouts and micro-management of limits. Fixing, seen in 'AM curl_global_init_mem debug valgrind 2': ``` TESTDONE: 899 tests out of 899 reported OK: 100% TESTFAIL: number of tests run (899) was below the minimum of: 900 ``` Ref: https://github.com/curl/curl/actions/runs/36842851539/job/110305788106?pr=23209 Also: drop manual workarounds from CI. Follow-up to 6648669 #22619 Closes #23211
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When the minimum comes from
CURL_TEST_MIN, to improve the defaultbehavior. It may still need manual adjustment in cases.
Follow-up to e669179 #22616
Follow-up to 58cb1e2 #22618
Cherry-picked from #22617