mirror of
https://github.com/curl/curl.git
synced 2026-06-04 23:24:29 +03:00
curl: --test-duphandle in debug builds runs "duphandled"
Using this option (only available in debug builds) makes curl always call curl_easy_duphandle() on the handle before using it. To help us catch curl_easy_duphandle() mistakes better. Add a CI job using this. Bonus: the previous runtests option -e is now also supported as --test-event Closes #15504
This commit is contained in:
parent
354f3f96a1
commit
cbafcec50b
19 changed files with 93 additions and 10 deletions
7
.github/workflows/linux.yml
vendored
7
.github/workflows/linux.yml
vendored
|
|
@ -248,7 +248,12 @@ jobs:
|
|||
- name: event-based
|
||||
install_packages: libssh-dev
|
||||
configure: --enable-debug --disable-shared --disable-threaded-resolver --with-libssh --with-openssl
|
||||
tflags: -n -e '!TLS-SRP'
|
||||
tflags: -n --test-event '!TLS-SRP'
|
||||
|
||||
- name: duphandle
|
||||
install_packages: libssh-dev
|
||||
configure: --enable-debug --disable-shared --disable-threaded-resolver --with-libssh --with-openssl
|
||||
tflags: -n --test-duphandle '!TLS-SRP'
|
||||
|
||||
- name: rustls valgrind
|
||||
install_packages: valgrind
|
||||
|
|
|
|||
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
|
|
@ -136,7 +136,7 @@ jobs:
|
|||
compiler: clang
|
||||
configure: --enable-debug --with-openssl=$(brew --prefix openssl)
|
||||
macos-version-min: '10.9'
|
||||
tflags: -e
|
||||
tflags: --test-event
|
||||
- name: 'OpenSSL libssh2 !ldap 10.15'
|
||||
compiler: clang
|
||||
configure: --enable-debug --disable-ldap --with-openssl=$(brew --prefix openssl)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue