ruff/crates/ruff_db/src
Micha Reiser ce0018c3cb
Add OsSystem support to mdtests (#16518)
## Summary

This PR introduces a new mdtest option `system` that can either be
`in-memory` or `os`
where `in-memory` is the default.

The motivation for supporting `os` is so that we can write OS/system
specific tests
with mdtests. Specifically, I want to write mdtests for the module
resolver,
testing that module resolution is case sensitive. 

## Test Plan

I tested that the case-sensitive module resolver test start failing when
setting `system = "os"`
2025-03-06 10:41:40 +01:00
..
diagnostic ruff_db: add new Diagnostic type 2025-03-05 08:23:02 -05:00
files Remove workspace support (#15472) 2025-01-15 09:03:38 +01:00
system Add OsSystem support to mdtests (#16518) 2025-03-06 10:41:40 +01:00
vendored Setup tracing and document tracing usage (#12730) 2024-08-08 06:28:40 +00:00
display.rs Upgrade Rust toolchain to 1.83 (#14677) 2024-11-29 12:05:05 +00:00
file_revision.rs Set durabilities for low-durability fields on high-durability inputs (#12627) 2024-08-02 19:42:34 +02:00
files.rs Add OsSystem support to mdtests (#16518) 2025-03-06 10:41:40 +01:00
lib.rs [red-knot] Prefix Type::call and dunder_call with try (#16261) 2025-02-20 09:05:04 +00:00
panic.rs [red-knot] Print non-string panic payloads and (sometimes) backtraces (#15363) 2025-01-08 18:12:16 -05:00
parsed.rs Add OsSystem support to mdtests (#16518) 2025-03-06 10:41:40 +01:00
source.rs Add OsSystem support to mdtests (#16518) 2025-03-06 10:41:40 +01:00
system.rs Add OsSystem support to mdtests (#16518) 2025-03-06 10:41:40 +01:00
testing.rs Transition to salsa coarse-grained tracked structs (#15763) 2025-02-11 11:38:50 +01:00
vendored.rs Upgrade Rust toolchain to 1.83 (#14677) 2024-11-29 12:05:05 +00:00