#
6d6113e1 |
| 07-Feb-2024 |
Evgeny Grin (Karlson2k) |
tests: add SHA-512/256 unit test
|
#
8620b11c |
| 01-Jan-2024 |
Daniel Stenberg |
runtests: for mode="text" on <stdout>, fix newlines on both parts Closes #12612
|
#
3dcf3017 |
| 18-Dec-2023 |
Daniel Stenberg |
runtests: support -gl. Like -g but for lldb. Follow-up to 63b5748 Invokes the test case via lldb instead of gdb. Since using gdb is such a pain on mac, using lldb is sometimes l
runtests: support -gl. Like -g but for lldb. Follow-up to 63b5748 Invokes the test case via lldb instead of gdb. Since using gdb is such a pain on mac, using lldb is sometimes less quirky. Closes #12547
show more ...
|
#
5ecbe4df |
| 24-Oct-2023 |
Jacob Hoffman-Andrews |
tets: make test documentation more user-friendly Put the instructions to run tests right at the top of tests/README.md. Give instructions to read the runtests.1 man page for informa
tets: make test documentation more user-friendly Put the instructions to run tests right at the top of tests/README.md. Give instructions to read the runtests.1 man page for information about flags. Delete redundant copy of the flags documentation in the README. Add a mention in README.md of the important parallelism flag, to make test runs go much faster. Move documentation of output line format into the runtests.1 man page, and update it with missing flags. Fix the order of two flags in the man page. Closes #12193
show more ...
|
#
65729f65 |
| 28-Sep-2023 |
Dan Fandrich |
runtests: display the test status if tests appear hung It sometimes happens that a test hangs during a test run and never returns. The test harness will wait indefinitely for the results
runtests: display the test status if tests appear hung It sometimes happens that a test hangs during a test run and never returns. The test harness will wait indefinitely for the results and on CI servers the CI job will eventually be killed after an hour or two. At the end of a test run, if results haven't come in within a couple of minutes, display the status of all test runners and what tests they're running to help in debugging the problem. This feature is really only kick in with parallel testing enabled, which is fine because without parallel testing it's usually easy to tell what test has hung. Closes #11980
show more ...
|
#
7370a7c7 |
| 26-Sep-2023 |
Viktor Szakats |
tests: show which curl tool `runtests.pl` is using To help debugging when there is issue finding or running it. Closes #11953
|
#
0d89c909 |
| 17-Aug-2023 |
Dan Fandrich |
runtests: slightly increase the longest log file displayed The new limit provides enough space for a 64 KiB data block to be logged in a trace file, plus a few lines at the start and end
runtests: slightly increase the longest log file displayed The new limit provides enough space for a 64 KiB data block to be logged in a trace file, plus a few lines at the start and end for context. This happens to be the amount of data sent at a time in a PUT request.
show more ...
|
#
1c3fcbda |
| 19-Aug-2023 |
Daniel Stenberg |
tests: add 'large-time' as a testable feature This allows test cases to require this feature to run and to be used in %if conditions. Large here means larger than 32 bits. Ie do
tests: add 'large-time' as a testable feature This allows test cases to require this feature to run and to be used in %if conditions. Large here means larger than 32 bits. Ie does not suffer from y2038. Closes #11696
show more ...
|
#
db70846e |
| 01-Aug-2023 |
Viktor Szakats |
tests: ensure `libcurl.def` contains all exports Add `test1279` to verify that `libcurl.def` lists all exported API functions found in libcurl headers. Also: - extend t
tests: ensure `libcurl.def` contains all exports Add `test1279` to verify that `libcurl.def` lists all exported API functions found in libcurl headers. Also: - extend test suite XML `stdout` tag with the `loadfile` attribute. - fix `tests/extern-scan.pl` and `test1135` to include websocket API. - use all headers (sorted) in `test1135` instead of a manual list. - add options `--sort`, `--heading=` to `tests/extern-scan.pl`. - add `libcurl.def` to the auto-labeler GHA task. Follow-up to 2ebc74c36a19a1700af394c16855ce144d9878e3 Closes #11570
show more ...
|
#
bb072402 |
| 31-Jul-2023 |
Stefan Eissing |
tests: fix h3 server check and parallel instances - fix check for availability of nghttpx server - add `tcp` frontend config for same port as quic, as without this, port 3000 is bo
tests: fix h3 server check and parallel instances - fix check for availability of nghttpx server - add `tcp` frontend config for same port as quic, as without this, port 3000 is bound which clashes for parallel testing Closes #11553
show more ...
|
#
1032f56e |
| 30-Jul-2023 |
Daniel Stenberg |
curl: make %output{} in -w specify a file to write to It can be used multiple times. Use %output{>>name} to append. Add docs. Test 990 and 991 verify. Idea: #11400 Sugg
curl: make %output{} in -w specify a file to write to It can be used multiple times. Use %output{>>name} to append. Add docs. Test 990 and 991 verify. Idea: #11400 Suggested-by: ed0d2b2ce19451f2 Closes #11416
show more ...
|
#
038c46f6 |
| 15-Nov-2022 |
Patrick Monnerat |
configure, cmake, lib: more form api deprecation Introduce a --enable-form-api configure option to control its inclusion in builds. The condition name defined for it is CURL_DISABLE_FORM
configure, cmake, lib: more form api deprecation Introduce a --enable-form-api configure option to control its inclusion in builds. The condition name defined for it is CURL_DISABLE_FORM_API. Form api code is dependent of MIME: configure and CMake handle this dependency automatically: CMake by making it a dependent option explicitly, configure by inheriting the MIME value by default and rejecting explicit incompatible values. "form-api" is now a new hidden test feature. Update libcurl modules to respect this option and adjust tests accordingly. Closes #9621
show more ...
|
#
7c8bae0d |
| 29-Jul-2023 |
Daniel Stenberg |
nss: remove support for this TLS library Closes #11459
|
#
0526525c |
| 22-Jun-2023 |
Dan Fandrich |
runtests: work around a perl without SIGUSR1 At least msys2 perl v5.32.1 doesn't seem to define this signal. Since this signal is only used for debugging, just ignore if setting it fails
runtests: work around a perl without SIGUSR1 At least msys2 perl v5.32.1 doesn't seem to define this signal. Since this signal is only used for debugging, just ignore if setting it fails. Reported-by: Marcel Raad Fixes #11350 Closes #11366
show more ...
|
#
62a97315 |
| 21-Jun-2023 |
Dan Fandrich |
runtests: use more consistent failure lines After a test failure log a consistent log message to make it easier to parse the log file. Also, log a consistent message with "ignored" for
runtests: use more consistent failure lines After a test failure log a consistent log message to make it easier to parse the log file. Also, log a consistent message with "ignored" for failures that cause the test to be not considered at all. These should perhaps be counted in the skipped category, but this commit does not change that behaviour.
show more ...
|
#
69e3485e |
| 21-Jun-2023 |
Dan Fandrich |
runtests: consistently write the test check summary block The memory check character was erroneously omitted if the memory checking file was not available for some reason, making the blo
runtests: consistently write the test check summary block The memory check character was erroneously omitted if the memory checking file was not available for some reason, making the block of characters an inconsistent length.
show more ...
|
#
089a8466 |
| 16-Jun-2023 |
Dan Fandrich |
runtests: better detect and handle pipe errors in the controller Errors reading and writing to the pipes are now better detected and propagated up to the main test loop so it can be clea
runtests: better detect and handle pipe errors in the controller Errors reading and writing to the pipes are now better detected and propagated up to the main test loop so it can be cleanly shut down. Such errors are usually due to a runner dying so it doesn't make much sense to try to continue the test run.
show more ...
|
#
2fe52412 |
| 14-Jun-2023 |
Dan Fandrich |
runtests: improve error logging Give more information about test harness error conditions to help figure out what might be wrong. Print some internal test state when SIGUSR1 is sent
runtests: improve error logging Give more information about test harness error conditions to help figure out what might be wrong. Print some internal test state when SIGUSR1 is sent to runtests.pl. Ref: #11328
show more ...
|
#
847e42d8 |
| 14-Jun-2023 |
Dan Fandrich |
runtests: better handle ^C during slow tests Since the SIGINT handler now just sets a flag that must be checked in the main controller loop, make sure that runs periodically. Rather tha
runtests: better handle ^C during slow tests Since the SIGINT handler now just sets a flag that must be checked in the main controller loop, make sure that runs periodically. Rather than blocking on a response from a test runner near the end of the test run, add a short timeout to allow it.
show more ...
|
#
7d62f0d9 |
| 05-Jun-2023 |
Dan Fandrich |
runtests; give each server a unique log lock file Logs are written by several servers and all of them must be finished writing before the test results can be determined. This means each
runtests; give each server a unique log lock file Logs are written by several servers and all of them must be finished writing before the test results can be determined. This means each server must have its own lock file rather than sharing a single one, which is how it was done up to now. Previously, the first server to complete a test would clear the lock before the other server was done, which caused flaky tests. Lock files are now all found in their own directory, so counting locks equals counting the files in that directory. The result is that the proxy logs are now reliably written which actually changes the expected output for two tests. Fixes #11231 Closes #11259
show more ...
|
#
92d7dd39 |
| 07-Jun-2023 |
Daniel Stenberg |
runtests: move parallel log dirs from logN to log/N Having several hundreds of them in there gets annoying. Closes #11264
|
#
6e4fedee |
| 05-Jun-2023 |
Dan Fandrich |
runtests: document the -j parallel testing option Reported-by: Daniel Stenberg Ref: #10818 Closes #11255
|
#
f24b4b98 |
| 19-May-2023 |
Dan Fandrich |
runtests: create multiple test runners when requested Parallel testing is enabled by using a nonzero value for the -j option to runtests.pl. Performant values seem to be about 7*num CPU
runtests: create multiple test runners when requested Parallel testing is enabled by using a nonzero value for the -j option to runtests.pl. Performant values seem to be about 7*num CPU cores, or 1.3*num CPU cores if Valgrind is in use. Flaky tests due to improper log locking (bug #11231) are exacerbated while parallel testing, so it is not enabled by default yet. Fixes #10818 Closes #11246
show more ...
|
#
d454af47 |
| 23-May-2023 |
Dan Fandrich |
runtests: handle repeating tests in multiprocess mode Such as what happens with the --repeat option. Some functions are changed to pass the runner ID instead of relying on the non-uniqu
runtests: handle repeating tests in multiprocess mode Such as what happens with the --repeat option. Some functions are changed to pass the runner ID instead of relying on the non-unique test number. Ref: #10818
show more ...
|
#
51c22af8 |
| 19-May-2023 |
Dan Fandrich |
runtests: buffer logmsg while running singletest() This allows all messages relating to a single test case to be displayed together at the end of the test. Ref: #10818
|