pytest: show curl features and protocols

For the Test Clutch matrix.

https://testclutch.curl.se/static/reports/feature-matrix.html

Closes #15452
This commit is contained in:
Viktor Szakats 2024-10-30 00:24:45 +01:00
parent e4aa07b526
commit bc6212004a
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
2 changed files with 14 additions and 0 deletions

View file

@ -38,6 +38,8 @@ def pytest_report_header(config):
env = Env()
report = [
f'Testing curl {env.curl_version()}',
f' curl: Features: {env.curl_features_string()}',
f' curl: Protocols: {env.curl_protocols_string()}',
f' httpd: {env.httpd_version()}, http:{env.http_port} https:{env.https_port}',
f' httpd-proxy: {env.httpd_version()}, http:{env.proxy_port} https:{env.proxys_port}'
]