Skip to content

pytest: include buildinfo.txt in the output - #15279

Closed
vszakats wants to merge 2 commits into
curl:masterfrom
vszakats:pytest-buildinfo
Closed

pytest: include buildinfo.txt in the output#15279
vszakats wants to merge 2 commits into
curl:masterfrom
vszakats:pytest-buildinfo

Conversation

@vszakats

@vszakats vszakats commented Oct 12, 2024

Copy link
Copy Markdown
Member

If present.

It aims to provide TextClutch the same build information that
runtests.pl already is providing.

Ref: https://testclutch.curl.se/static/reports/feature-matrix.html
Ref: #15256
Follow-up to 1fdea16 #14802


Example:

============================= test session starts ==============================
platform linux -- Python 3.10.12, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3
cachedir: .pytest_cache
Testing curl 8.11.0-DEV
  httpd: 2.4.52, http:54909 https:58605
  httpd-proxy: 2.4.52, http:33255 https:47459
  VsFTPD: unknown, ftp:48291, ftps:43843
buildinfo.configure.tool: configure
buildinfo.configure.args:  '--disable-dependency-tracking' '--enable-unity' '--enable-test-bundles' '--enable-warnings' '--enable-werror' 'LDFLAGS=-Wl,-rpath,/home/runner/bearssl/lib' '--with-bearssl=/home/runner/bearssl' '--enable-debug'
buildinfo.host: x86_64-pc-linux-gnu
buildinfo.host.cpu: x86_64
buildinfo.host.os: linux-gnu
buildinfo.target: x86_64-pc-linux-gnu
buildinfo.target.cpu: x86_64
buildinfo.target.os: linux-gnu
buildinfo.target.flags: UNIX GCC
buildinfo.compiler: GNU_C
buildinfo.compiler.version: 11
buildinfo.sysroot:
rootdir: /home/runner/work/curl/curl/tests
collecting ... collected 640 items

https://github.com/curl/curl/actions/runs/11309061752/job/31452535187?pr=15279#step:47:64

@vszakats vszakats added the tests label Oct 12, 2024
@github-actions github-actions Bot added the HTTP label Oct 12, 2024
@vszakats vszakats added the CI Continuous Integration label Oct 12, 2024
@dfandrich

dfandrich commented Oct 12, 2024 via email

Copy link
Copy Markdown
Contributor

@vszakats vszakats changed the title pytest: dump buildinfo.txt to the log pytest: show buildinfo.txt in the output Oct 12, 2024
@vszakats
vszakats requested a review from dfandrich October 12, 2024 22:20
@vszakats vszakats changed the title pytest: show buildinfo.txt in the output pytest: include buildinfo.txt in the output Oct 12, 2024
@vszakats vszakats closed this in 75dfb7b Oct 13, 2024
@vszakats
vszakats deleted the pytest-buildinfo branch October 13, 2024 09:36
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
If present.

It aims to provide TextClutch the same build information that
`runtests.pl` already is providing.

Ref: https://testclutch.curl.se/static/reports/feature-matrix.html
Ref: curl#15256
Follow-up to 1fdea16 curl#14802
Closes curl#15279
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous Integration HTTP tests

Development

Successfully merging this pull request may close these issues.

2 participants