Skip to content

Pytest integrated#3331

Open
tomc271 wants to merge 170 commits intonextfrom
pytest-integrated
Open

Pytest integrated#3331
tomc271 wants to merge 170 commits intonextfrom
pytest-integrated

Conversation

@tomc271
Copy link
Copy Markdown
Collaborator

@tomc271 tomc271 commented Mar 17, 2026

No description provided.

Comment thread tests/run_integrated_tests.sh Outdated
Comment thread tests/run_integrated_tests.sh Outdated
Comment thread pyproject.toml
Comment thread CMakeLists.txt Outdated
Comment thread .ci_with_cmake.sh
Comment thread tests/integrated/test-boutpp/slicing/test_slicing.py Outdated
Comment thread tests/integrated/test-boutpp/slicing/test_slicing.py Outdated
Comment thread tests/integrated/test-boutpp/slicing/test_slicing.py Outdated
Comment thread tests/integrated/test-command-args/test_command_args.py Outdated
matching either to a file named `test_foo.py`.
Native configuration is x86_64-pc-linux-gnu

		===  tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.

		===  Summary === to  in CMakeLists.txt
so that the `input` directory is found.
so that the `test` directory is found.
Fails due to missing file `grid.fci.nc`.
Change directory to exe location prior to attempting to run it.
Change directory to exe location prior to attempting to run it.
Change directory to exe location prior to attempting to run it.
@tomc271 tomc271 force-pushed the pytest-integrated branch from 7373881 to 8852248 Compare April 15, 2026 09:27
Comment thread tests/run_integrated_tests.sh
@ZedThree
Copy link
Copy Markdown
Member

@dschwoerer This PR now puts a hard requirement of pytest (and pytest-xdist) for running the tests. The dependencies are in pyproject.toml -- where's the best place to install these for the Fedora CI?

@dschwoerer
Copy link
Copy Markdown
Contributor

The best place is to put it here: boutproject/bout-container-base#50

Is there a plan to add a test to ensure the examples can at least be compiled?

@dschwoerer
Copy link
Copy Markdown
Contributor

The builds are not failing, even though they should:

.....F..................F..............................
=================================== FAILURES ===================================

Also, do you know why for fedora everything but one test is skipped?

@ZedThree
Copy link
Copy Markdown
Member

@tomc271 is already on it :)

Fedora skips all but one because it's currently missing the pytest-xdist dependency. That one test is separate for some reason (I think the timeout, @tomc271 ?) and doesn't need that dependency

@dschwoerer
Copy link
Copy Markdown
Contributor

It should be there, as soon as the new container image has been build

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.

4 participants