Skip to content

build: add pytest targets#15034

Closed
vszakats wants to merge 8 commits intocurl:masterfrom
vszakats:build-pytest-targets
Closed

build: add pytest targets#15034
vszakats wants to merge 8 commits intocurl:masterfrom
vszakats:build-pytest-targets

Conversation

@vszakats
Copy link
Copy Markdown
Member

@vszakats vszakats commented Sep 24, 2024

It enables running pytests in cmake jobs, regardless of underlying build
tool choice (= makes it work with ninja.)

Also:

  • drop pytest logic launching make and exiting in case of failure.
    Maybe there is a better way and keep this functionality somehow, bind
    it to a command-line option? make it fail softly?

  • GHA/linux: invoke pytest via the build, not directly.

  • autotools: add missing dummy runtests targets when cross-compiling.

@github-actions github-actions bot added the CI Continuous Integration label Sep 24, 2024
@dfandrich
Copy link
Copy Markdown
Contributor

Analysis of PR #15034 at 23b00f72:

Test 445 failed, which has NOT been flaky recently, so there could be a real issue in the PR.

Generated by Testclutch

@icing icing self-requested a review September 25, 2024 07:17
@vszakats vszakats closed this in d82f9f9 Sep 25, 2024
@vszakats vszakats deleted the build-pytest-targets branch September 25, 2024 07:26
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
It enables running pytests in cmake jobs, regardless of underlying build
tool choice (= makes it work with ninja.)

Also:

- drop pytest logic launching `make` and exiting in case of failure.
  Maybe there is a better way and keep this functionality somehow, bind
  it to a command-line option? make it fail softly?

- GHA/linux: invoke pytest via the build, not directly.

- autotools: add missing dummy runtests targets when cross-compiling.

Closes curl#15034
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build CI Continuous Integration tests

Development

Successfully merging this pull request may close these issues.

3 participants