Skip to content

Conversation

@connorjward
Copy link
Contributor

@connorjward connorjward commented Nov 6, 2024

Description

Goes with firedrakeproject/petsc#23

Key change here is the petsc4py error handler is now different and so we need a new approach for catching errors that are triggered inside a PETSc callback.

The fixture approach I use here is a bit iffy but the inability to have shared functions in pytest is a known limitation.

@github-actions
Copy link

github-actions bot commented Nov 6, 2024

TestsPassed ✅Skipped ⏭️Failed ❌
Firedrake complex8090 ran6503 passed1583 skipped4 failed

@github-actions
Copy link

github-actions bot commented Nov 6, 2024

TestsPassed ✅Skipped ⏭️Failed ❌
Firedrake real8096 ran7309 passed786 skipped1 failed

@connorjward connorjward marked this pull request as ready for review November 12, 2024 10:13
@connorjward connorjward requested a review from ksagiyam November 12, 2024 10:13
@connorjward connorjward changed the title DO NOT MERGE Test updated PETSc Fixes for updated PETSc Nov 12, 2024
ksagiyam
ksagiyam previously approved these changes Nov 12, 2024
@connorjward connorjward merged commit ecc6886 into master Nov 12, 2024
6 of 8 checks passed
@connorjward connorjward deleted the connorjward/check-petsc branch November 12, 2024 14:17
connorjward added a commit that referenced this pull request Nov 25, 2024
* Add petsc_raises fixture to catch PETSc callback exceptions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants