-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Implement an ability to only run tests on a particular platform #47459
Labels
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Comments
Thanks for the file link. I am going to try fix this. |
dupe of #33581? |
@ollie27 yes looks like so. I will jump to that. Thanks. |
Well, this has (admittedly terse) instructions. Just make sure to note both issues as "Fixed" when submitting a PR, that’s about it. |
This was referenced Jan 15, 2018
Pulkit07
added a commit
to Pulkit07/rust
that referenced
this issue
Jan 16, 2018
This patch implements "only-<platforms>" for tests headers using which one can specify just the platforms on which the test should run rather than listing all the platforms to ignore using "ignore-<platforms>". This is a fix for issues rust-lang#33581 and rust-lang#47459.
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Jan 17, 2018
implement "only-<platforms>" for test headers This patch implements "only-<platforms>" for tests headers using which one can specify just the platforms on which the test should run rather than listing all the platforms to ignore using "ignore-<platforms>". This fixes rust-lang#33581 and fixes rust-lang#47459.
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Jan 17, 2018
implement "only-<platforms>" for test headers This patch implements "only-<platforms>" for tests headers using which one can specify just the platforms on which the test should run rather than listing all the platforms to ignore using "ignore-<platforms>". This fixes rust-lang#33581 and fixes rust-lang#47459.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Currently we have an ability to specify targets to ignore tests on some platforms in form of
//ignore-<arch>
comment appearing somewhere in the file.These attributes, however, are hardly usable when a test is intended to target a single architecture, as you’d have to specify every architecture test is not targeting.
The idea is to implement an attribute
// only-<target>
, which essentially an equivalent to specifying// ignore-*
for every target but the<target>
.The relevant location to change would be here.
The text was updated successfully, but these errors were encountered: