Skip to content

Skip ADIOS2 test before importing VTXWriter#4254

Open
masaqif wants to merge 1 commit into
FEniCS:mainfrom
masaqif:fix-adios2-test-skip
Open

Skip ADIOS2 test before importing VTXWriter#4254
masaqif wants to merge 1 commit into
FEniCS:mainfrom
masaqif:fix-adios2-test-skip

Conversation

@masaqif

@masaqif masaqif commented Jun 30, 2026

Copy link
Copy Markdown

Move the optional ADIOS2 import check before importing VTXWriter in test_dg_0_data. This lets the test skip cleanly when ADIOS2 is unavailable instead of failing during the VTXWriter import.\n\nSplit out from #4249 per maintainer request.

@francesco-ballarin

francesco-ballarin commented Jul 1, 2026

Copy link
Copy Markdown
Member

While you are at it, you may also want to look at the following other places which show a similar issue. This is how we patch it for debian, but there are for sure other ways to handle that (e.g., as you did, moving the adios2 import or skip earlier, when that is used inside the test)

https://salsa.debian.org/science-team/fenics/fenics-dolfinx/-/blob/25530d9953e688fa1848ea159c1469f7f89bc3b7/debian/patches/test_adios2_skip.patch
https://salsa.debian.org/science-team/fenics/fenics-dolfinx/-/blob/11ba5c5df4435136ca793d6b63911f4543e82552/debian/patches/demo_no_vtk_adios2.patch

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.

2 participants