compiletest-rs icon indicating copy to clipboard operation
compiletest-rs copied to clipboard

"only-" header not supported

Open RalfJung opened this issue 4 years ago • 2 comments

We added a only-linux test to our test suite and were very confused to see it run on macOS as well.

Inspecting the compiletest-rs code, it looks like only has not been synced over from rustc? That would mean this crate is 30 months outdated.

RalfJung avatar Aug 04 '19 20:08 RalfJung

I think with the current compiletest-rs you can only use the ignore header, so that would be something like

// ignore-macos
// ignore-windows

depending on your needs.

phansch avatar Aug 04 '19 21:08 phansch

Yeah that's what we went with for now. Thanks.

RalfJung avatar Aug 04 '19 21:08 RalfJung