Skip to content

Commit

Permalink
Fix pytest args/config, with a recent pytest the previous args/config…
Browse files Browse the repository at this point in the history
… didn't work anymore.
  • Loading branch information
poletti-marco committed Feb 2, 2025
1 parent 902900b commit 03dccb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion extras/scripts/postsubmit-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ then
cd tests
run_make

python3 -m pytest -n auto -r a "$SOURCES_PATH"/tests
python3 -m pytest -n auto -r a
cd ..

make install
Expand Down
1 change: 1 addition & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ file(GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/pytest.ini"
CONTENT "
[pytest]
testpaths = \"${CMAKE_CURRENT_SOURCE_DIR}\"
pythonpath = \"${CMAKE_CURRENT_SOURCE_DIR}\"
addopts = -r a
timeout = 300
")

0 comments on commit 03dccb6

Please sign in to comment.