Skip to content

[rustbuild] ignore single tests #49874

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
davidak opened this issue Apr 11, 2018 · 1 comment
Closed

[rustbuild] ignore single tests #49874

davidak opened this issue Apr 11, 2018 · 1 comment
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.

Comments

@davidak
Copy link

davidak commented Apr 11, 2018

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.

@pietroalbini pietroalbini added 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. labels Apr 11, 2018
@jyn514
Copy link
Member

jyn514 commented Jun 27, 2022

We'd want to implement this with --exclude, so I'm going to close this as a duplicate of #96342. I don't think we use any tests today that require network access, please open a new issue if that's not the case :)

@jyn514 jyn514 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

3 participants