curl-curl/docs/tests
Daniel Stenberg 8724306e78
runtests: support memory-limits per test
The idea here is to set limits per test how many allocations and maximum
amount of memory it is allowed to use. This is a means to make sure the
number and total size of allocations are kept in check and don't
mistakenly "blow up".

If runtests.pl detects that the given limits have been exceeded it fails
the test case with an error.

The `<verify>` part now supports `<limits>`, and in this section two
limits can be set for each test (verified in debug builds only):

    Allocations: [number of allocation calls]
    Maximum allocated: [maximum concurrent memory allocated]

Default limits (used if nothing is set in the test file):

    Allocations: 1000
    Maximum allocated: 1000000

Closes #17821
2025-07-08 10:14:45 +02:00
..
CI.md docs/tests: remove mention of hyper 2025-06-01 13:45:52 +02:00
FILEFORMAT.md runtests: support memory-limits per test 2025-07-08 10:14:45 +02:00
HTTP.md docs,tests: fix english grammar "allow to" -> "allow <something> to" 2025-07-07 09:05:17 +02:00
TEST-SUITE.md tests: always make bundles, adapt build and tests 2025-06-14 21:08:23 +02:00