[rustbuild] ignore single tests #49874
Labels
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
T-infra
Relevant to the infrastructure team, which will review and decide on the PR/issue.
I'm packaging a rust program for the Nix package manager. We build packages in a sandboxed environment to not rely on external state and have reproducible builds.
Now a test fail because it want's to use the network. I want to disable this one test with a commandline parameter.
Tests could also be grouped (#35678), so i can disable all tests that need network like
--test offline
, but a simple list like--test --disable-tests test_update_cache,test_missing_cache
would do it for now.The text was updated successfully, but these errors were encountered: