Repository navigation
Conversation
jserv
force-pushed
the
pytest
branch
2 times, most recently
from
February 18, 2026 04:34
9ae8764 to
7edddd1
Compare
This replaces testsuite.py with pytest modules under 'tests/' directory. Add conftest.py with shared fixtures. It removes deprecated APIs: KconfigSyntaxError alias, InternalError exception, enable_/disable_ warning methods, and load_allconfig (inlined into Kconfig.load_allconfig() method). Add tests for previously-untested public APIs: expr_value(), Symbol.config_string, Symbol.rev_dep, Symbol.weak_rev_dep, Kconfig.missing_syms, and Symbol.user_loc.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This moves selftests into 10 focused pytest modules under 'tests', with shared fixtures and helpers in tests/conftest.py. Original testsuite.py now delegates selftests to pytest and retains only kernel compatibility tests.
It also removes testsuite.py in favor of pytest test modules.
Summary by cubic
Migrated self-tests to pytest with shared fixtures, expanded coverage, and removed deprecated APIs. Compat tests are pytest-marked and run only from a Linux kernel tree; CI and README updated.
Refactors
Migration
Written for commit 4790d62. Summary will update on new commits.