-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
No way to disable tests for *-windows-gnu
but keep them enabled for *-windows-gnullvm
#132278
Comments
This comment has been minimized.
This comment has been minimized.
I'll double-check the target matchers, matching on a substring seems somewhat sus here. |
I had tried that with quite dusted branch, so maybe it has changed since then. I'll try with a recent master. |
Yeah, that's right. On top of
shows Verbose configuration
|
It's matched because this matcher rust/src/tools/compiletest/src/header/cfg.rs Lines 123 to 127 in db034ce
In this case we'd need a way to somehow combine those two and ignore the test when they are both set to specific (sometimes empty) values. Currently, supported syntax is too limited to handle that, so fixing this issue is not possible without complicating or reworking how compiletest works.
|
…iser allow CFGuard on windows-gnullvm No unit tests because of rust-lang#132278
…iser allow CFGuard on windows-gnullvm No unit tests because of rust-lang#132278
allow CFGuard on windows-gnullvm No unit tests because of rust-lang#132278
allow CFGuard on windows-gnullvm No unit tests because of rust-lang/rust#132278
If I write:
Then gnullvm will be also excluded. There are few things (like CFGuad) that will probably never work with mingw-w64+GNU targets but are supported on mingw-w64+LLVM (not yet within Rust).
Using
//@ only-windows-gnullvm
won't be an option because it would disable the test for*-windows-msvc
.One idea I can think of is to add
$
character that means end of the line, just like in regex. So//@ ignore-windows-gnu$
would skip all*-windows-gnu
targets from the given test but keep*-windows-gnullvm
targets.Originally posted by @mati865 in #128602
cc @jieyouxu
The text was updated successfully, but these errors were encountered: