Unify stubtest allowlist handling more (#11986)

This makes it trivial to consistently extend supported allowlists in the future.
This commit is contained in:
Sebastian Rittau
2024-05-21 08:25:32 +02:00
committed by GitHub
parent 0a95341735
commit d479e0f24a
4 changed files with 19 additions and 15 deletions

View File

@@ -176,7 +176,9 @@ directly, with
```
For each distribution, stubtest ignores definitions listed in a `@tests/stubtest_allowlist.txt` file,
relative to the distribution. Additional packages that are needed to run stubtest for a
relative to the distribution. Platform specific items can be ignored by listing them
in a `@tests/stubtest_allowlist_{platform}.txt` file. Additional packages that are needed
to run stubtest for a
distribution can be added to `tool.stubtest.stubtest_requirements` in `METADATA.toml`.
### Using stubtest to find objects missing from the stubs