Skip to content

Commit

Permalink
Enable warnings as errors when executing our test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippWendler committed Aug 30, 2024
1 parent e72cede commit b3debbe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,11 @@ ignore = [
]

[tool.pytest.ini_options]
filterwarnings = [
"error",
# TODO cf. https://github.com/sosy-lab/benchexec/issues/1073
# To make warning visible change "ignore" to "default".
"ignore:subprocess .* is still running:ResourceWarning",
]
python_files = ["test_*.py", "test_integration/__init__.py", "test.py"]
norecursedirs = ["contrib/p4/docker_files", "build", "benchexec/tablegenerator/react-table"]

0 comments on commit b3debbe

Please sign in to comment.